<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webex API Post status code 400 when trying to generate a call in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250707#M4065</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/182788"&gt;@Hugo Franco&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is it possible to share us the complete API request payload and the corresponding response please.&lt;BR /&gt;By checking the error description and the error trackingId - we could investigate it further.&lt;BR /&gt;So, if I'm understanding your problem description correctly, then you're using the Integration token to make a call to the other 2 Users of your Sandbox org and it's throwing the error.&lt;BR /&gt;However when you try to make a call to the Admin's extension and endpointId, then it's fine.&lt;BR /&gt;Please correct me if my understanding is wrong!&lt;/P&gt;
&lt;P&gt;So the probable cause of this error I believe is the Calling License which might be missing for those 2 Users in your Sandbox Org. Could you kindly check that &amp;amp; confirm as well!&lt;BR /&gt;Please make a note, to be able to use the&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/call-controls/dial" target="_blank"&gt;https://developer.webex.com/docs/api/v1/call-controls/dial&lt;/A&gt;&amp;nbsp;API, both the Users, Dialler and Receiver - both should have at least the basic calling license. Else it'd throw error.&lt;/P&gt;
&lt;P&gt;Regards!&lt;BR /&gt;Sandip&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 04:51:24 GMT</pubDate>
    <dc:creator>sandiban</dc:creator>
    <dc:date>2025-01-22T04:51:24Z</dc:date>
    <item>
      <title>Webex API Post status code 400 when trying to generate a call</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250353#M4064</link>
      <description>&lt;P&gt;I am working on the&amp;nbsp;Developer Sandbox, so I have thee users created with their respective extensions. The administrator and two other users.&lt;/P&gt;
&lt;P&gt;If I go onto the developer portal and try to generate a call from there, I need to enter the access token, the&amp;nbsp;endpointId and the destination. Being logged in as the administrator, the access token is the personal one by default and I had to get the endpoint ID&amp;nbsp;using the personal ID but once I enter all the parameters, I can trigger the call between the amin's extension and the destination.&lt;/P&gt;
&lt;P&gt;Now even when I get the endpoint id for the other two users, I try to trigger the call and it throws an 400 error. It kind of make sense if you are working with the administrator login.&lt;/P&gt;
&lt;P&gt;So I created an integration and I built a program that gets a token using the details of that integration and try to triggers the call. It also works for the admin's device but not for the other to users.&lt;/P&gt;
&lt;P&gt;Can someone tell me if I am doing anything wrong? maybe there is another API control to make calls between any extension and the destination.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 17:30:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250353#M4064</guid>
      <dc:creator>Hugo Franco</dc:creator>
      <dc:date>2025-01-21T17:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Post status code 400 when trying to generate a call</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250707#M4065</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/182788"&gt;@Hugo Franco&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is it possible to share us the complete API request payload and the corresponding response please.&lt;BR /&gt;By checking the error description and the error trackingId - we could investigate it further.&lt;BR /&gt;So, if I'm understanding your problem description correctly, then you're using the Integration token to make a call to the other 2 Users of your Sandbox org and it's throwing the error.&lt;BR /&gt;However when you try to make a call to the Admin's extension and endpointId, then it's fine.&lt;BR /&gt;Please correct me if my understanding is wrong!&lt;/P&gt;
&lt;P&gt;So the probable cause of this error I believe is the Calling License which might be missing for those 2 Users in your Sandbox Org. Could you kindly check that &amp;amp; confirm as well!&lt;BR /&gt;Please make a note, to be able to use the&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/call-controls/dial" target="_blank"&gt;https://developer.webex.com/docs/api/v1/call-controls/dial&lt;/A&gt;&amp;nbsp;API, both the Users, Dialler and Receiver - both should have at least the basic calling license. Else it'd throw error.&lt;/P&gt;
&lt;P&gt;Regards!&lt;BR /&gt;Sandip&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 04:51:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250707#M4065</guid>
      <dc:creator>sandiban</dc:creator>
      <dc:date>2025-01-22T04:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Post status code 400 when trying to generate a call</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250978#M4067</link>
      <description>&lt;P&gt;Hi Sandiban,&lt;/P&gt;
&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;Yes, I think I can share it because it is a lab environment after all.&lt;/P&gt;
&lt;P&gt;You have a good understanding of the scenario, but I just have to clarify that I am trying to connect the users extension with an auto-attendant, so to pick the user extension I am using the endpoint and then the AA pilot as destination. However, it works with the administrator’s extension and connects it to the AA, while gives a 400 not found error for the other users.&lt;/P&gt;
&lt;P&gt;About the licensing, the three users have the configuration shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HugoFranco_0-1737552825734.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/238199i4D1A4B2068C66121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HugoFranco_0-1737552825734.png" alt="HugoFranco_0-1737552825734.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do the dialer and receiver have to be extensions? Because I am connecting with an AA but it could be an external phone so how would it be in that situation?&lt;/P&gt;
&lt;P&gt;Find the program output attached.&lt;/P&gt;
&lt;P&gt;Please, let me know if you need any further information&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 13:35:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-post-status-code-400-when-trying-to-generate-a-call/m-p/5250978#M4067</guid>
      <dc:creator>Hugo Franco</dc:creator>
      <dc:date>2025-01-22T13:35:33Z</dc:date>
    </item>
  </channel>
</rss>

