<?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 How to setup sms api webhook in Developer Forum</title>
    <link>https://community.sinch.com/t5/Developer-Forum/How-to-setup-sms-api-webhook/m-p/16205#M170</link>
    <description>&lt;P&gt;Is there way to set up webhook for sms api so when a message is delivered or a user replies back to sms the webhook triggers.&lt;BR /&gt;&lt;BR /&gt;I have setup a webhook in conversation api sms channel but it is not triggering.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 07:16:46 GMT</pubDate>
    <dc:creator>Kamta</dc:creator>
    <dc:date>2024-10-02T07:16:46Z</dc:date>
    <item>
      <title>How to setup sms api webhook</title>
      <link>https://community.sinch.com/t5/Developer-Forum/How-to-setup-sms-api-webhook/m-p/16205#M170</link>
      <description>&lt;P&gt;Is there way to set up webhook for sms api so when a message is delivered or a user replies back to sms the webhook triggers.&lt;BR /&gt;&lt;BR /&gt;I have setup a webhook in conversation api sms channel but it is not triggering.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 07:16:46 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/How-to-setup-sms-api-webhook/m-p/16205#M170</guid>
      <dc:creator>Kamta</dc:creator>
      <dc:date>2024-10-02T07:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup sms api webhook</title>
      <link>https://community.sinch.com/t5/Developer-Forum/How-to-setup-sms-api-webhook/m-p/16217#M171</link>
      <description>&lt;P&gt;Hello, thank you for reaching out!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the &lt;A title="webhook you set up for your Conversation API app" href="https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100" target="_blank" rel="noopener"&gt;webhook you set up for your Conversation API app&lt;/A&gt; isn't behaving as expected, you may need to review the &lt;A title="triggers" href="https://developers.sinch.com/docs/conversation/callbacks/#webhook-triggers" target="_blank" rel="noopener"&gt;triggers&lt;/A&gt; you configured for it. For the two cases you described in your original post, ensure that your webhook is configured for (at least) the following triggers:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;MESSAGE_DELIVERY&lt;/CODE&gt;, which will deliver&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#message-delivery-receipt" target="_blank" rel="noopener"&gt;delivery receipts&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;for messages sent by your Conversation API app.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;MESSAGE_INBOUND&lt;/CODE&gt;,&amp;nbsp;&lt;SPAN&gt;which will deliver &lt;A title="inbound messages" href="https://developers.sinch.com/docs/conversation/callbacks/#inbound-message" target="_blank" rel="noopener"&gt;inbound messages&lt;/A&gt; sent by end users on the underlying Conversation API channels (including the SMS channel).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;You can assign up to five webhooks to a single Conversation API app, and each of those webhooks may be configured for multiple triggers.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; These instructions are for the SMS channel of the Conversation API. If you are using the standalone SMS API, you'll &lt;A title="configure your callbacks using a different method" href="https://community.sinch.com/t5/SMS/How-do-I-assign-a-callback-URL-to-an-SMS-service-plan/ta-p/8414" target="_blank" rel="noopener"&gt;configure your callbacks using a different method&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Additional Troubleshooting&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are still having issues after reviewing your webhook triggers, ensure that the SMS channel of your Conversation API app is configured correctly. Specifically, you can review the&amp;nbsp;&lt;STRONG&gt;DEFAULT CALLBACK URL&lt;/STRONG&gt; associated with the Service API assigned to the SMS channel of your Conversation API app. To review this URL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Log in&amp;nbsp;to the&amp;nbsp;&lt;A title="Sinch Customer Dashboard" href="https://dashboard.sinch.com/dashboard" target="_blank" rel="noopener noreferrer"&gt;Sinch Customer Dashboard&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Select&amp;nbsp;&lt;STRONG&gt;Conversation API&lt;/STRONG&gt;&amp;nbsp;from the left &lt;STRONG&gt;Communication APIs&lt;/STRONG&gt; menu&amp;nbsp;and select the&amp;nbsp;&lt;STRONG&gt;&lt;A title="Apps" href="https://dashboard.sinch.com/convapi/apps" target="_blank" rel="noopener noreferrer"&gt;Apps&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;option.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click the name of your app.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&lt;STRONG&gt;SMS&amp;nbsp;&lt;/STRONG&gt;entry in the&amp;nbsp;&lt;STRONG&gt;Set up channels&lt;/STRONG&gt; section. Note the corresponding Service Plan ID.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Select&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SMS&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;from the left&amp;nbsp;&lt;STRONG&gt;Communication APIs&lt;/STRONG&gt; menu and select the&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Service APIs" href="https://dashboard.sinch.com/sms/api/rest" target="_blank" rel="noopener noreferrer"&gt;&lt;STRONG&gt;Service APIs&lt;/STRONG&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;option.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Locate the row that corresponds to the Service Plan ID you noted in step 4.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Ensure that the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;DEFAULT CALLBACK URL&lt;/STRONG&gt;&amp;nbsp;is configured for use with the Conversation API (that is, ensure it is a Sinch adapter URL).&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If the criteria described in step 7 is not met, consider either &lt;A title="creating a new Service API" href="https://community.sinch.com/t5/SMS/How-do-I-create-an-SMS-Service-API/ta-p/8400" target="_blank" rel="noopener"&gt;c&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A title="creating a new Service API" href="https://community.sinch.com/t5/SMS/How-do-I-create-an-SMS-Service-API/ta-p/8400" target="_blank" rel="noopener"&gt;reating a new Service API&lt;/A&gt; for use with your Conversation API app or updating the &lt;STRONG&gt;DEFAULT CALLBACK URL &lt;/STRONG&gt;of the existing Service API. Consult with your &lt;A title="Account Manager" href="https://dashboard.sinch.com/account/details" target="_blank" rel="noopener"&gt;Account Manager&lt;/A&gt; to ensure that any configuration updates do not result in a loss of productivity with your solution.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;TABLE border="0" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%" height="110px" style="background-color: orange; width: 100%; height: 110px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Warning:&amp;nbsp;&lt;/STRONG&gt;If you wish to update the&amp;nbsp;&lt;STRONG&gt;DEFAULT CALLBACK URL&lt;/STRONG&gt; of the existing plan, you must first remove the current URL. This may may interrupt the flow of incoming traffic into your solution. Consult with your&amp;nbsp;&lt;A title="Account Manager" href="https://dashboard.sinch.com/account/details" target="_blank" rel="noopener"&gt;Account Manager&lt;/A&gt;&amp;nbsp;prior to updating any existing&amp;nbsp;&lt;STRONG&gt;DEFAULT CALLBACK URL&lt;/STRONG&gt; fields.&lt;/EM&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;If you decide to complete one of the options described in step 8, complete that process. You must then reconfigure the SMS channel of your Conversation API app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Select&amp;nbsp;&lt;STRONG&gt;Conversation API&lt;/STRONG&gt;&amp;nbsp;from the left &lt;STRONG&gt;Communication APIs&amp;nbsp;&lt;/STRONG&gt;menu and select the&amp;nbsp;&lt;STRONG&gt;&lt;A title="Apps" href="https://dashboard.sinch.com/convapi/apps" target="_blank" rel="noopener noreferrer"&gt;Apps&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;option.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click the name of your app.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click the&amp;nbsp;&lt;STRONG&gt;SMS&amp;nbsp;&lt;/STRONG&gt;entry in the&amp;nbsp;&lt;STRONG&gt;Set up channels&lt;/STRONG&gt; section.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click&amp;nbsp;&lt;STRONG&gt;RESET INTEGRATION&lt;/STRONG&gt; and confirm your choice.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click the&amp;nbsp;&lt;STRONG&gt;SMS&lt;/STRONG&gt; entry in the&amp;nbsp;&lt;STRONG&gt;Set up channels&lt;/STRONG&gt; section again and &lt;A title="configure the channel" href="https://developers.sinch.com/docs/conversation/channel-support/sms/set-up/#configuring-the-conversation-api-and-sms-integration" target="_blank" rel="noopener"&gt;configure the channel&lt;/A&gt;, ensuring that you select the Service Plan ID that is to be used with this Conversation API app.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;Please let us know if you continue to have any issues, or if you have any other questions. Also, if there is additional information you'd like to provide regarding this issue, feel free to do so by adding a post to this thread or sending me a direct message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you again for reaching out!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 21:54:25 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/How-to-setup-sms-api-webhook/m-p/16217#M171</guid>
      <dc:creator>Sam_Williams</dc:creator>
      <dc:date>2024-10-02T21:54:25Z</dc:date>
    </item>
  </channel>
</rss>

