<?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>article How to add a webhook to a Conversation API app in Conversation API</title>
    <link>https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;The Conversation API delivers contact messages, delivery receipts for app messages and various notifications through callbacks. You can create up-to 5 endpoints (webhooks) per conversation API app through the&amp;nbsp;&lt;A href="https://dashboard.sinch.com/convapi/apps" target="_blank" rel="noopener"&gt;Sinch Customer Dashboard&lt;/A&gt;&amp;nbsp;or by using the &lt;SPAN&gt;/webhooks&lt;/SPAN&gt; &lt;A href="https://developers.sinch.com/docs/conversation/callbacks/#webhook-management" target="_blank" rel="noopener"&gt;management endpoint&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add a new webhook to your Conversation API app:&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 href="https://dashboard.sinch.com/dashboard" target="_blank" rel="noopener"&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 menu and select the&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://dashboard.sinch.com/convapi/apps" target="_blank" rel="noopener"&gt;Apps&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;option. The Conversation Apps page is displayed.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click the name of the app to which you want to add the webhook. For example, click &lt;STRONG&gt;TestApp&lt;/STRONG&gt;. The TestApp setup page is displayed. Scroll down to the &lt;STRONG&gt;Webhooks&lt;/STRONG&gt; section:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alex_Sberna_0-1631652072879.png" style="width: 999px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/1220iAC37BAF8A9E57FED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Alex_Sberna_0-1631652072879.png" alt="Alex_Sberna_0-1631652072879.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;If you do not already have a Conversation API App – click&amp;nbsp;&lt;A href="https://community.sinch.com/t5/Conversation-API/How-to-create-a-Conversation-API-App/ta-p/8069" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;to learn how to create one.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;ADD WEBHOOK&lt;/STRONG&gt;. The &lt;STRONG&gt;New webhook&lt;/STRONG&gt; dialog box is displayed:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conversation_new_webhook.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5851i1ECE19A12ABE4AE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="conversation_new_webhook.png" alt="conversation_new_webhook.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG style="font-family: inherit;"&gt;Target type&lt;/STRONG&gt;&lt;SPAN&gt; drop-down, select HTTP.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;In the &lt;STRONG style="font-family: inherit;"&gt;Target URL&lt;/STRONG&gt;&lt;SPAN&gt; field, enter the URL to which you want the webhook to point.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;If you want the webhook to validate against your chosen endpoint &lt;A title="using HMAC" href="https://developers.sinch.com/docs/conversation/callbacks/#validating-callbacks" target="_blank" rel="noopener"&gt;using HMAC&lt;/A&gt;,&amp;nbsp;&lt;SPAN&gt;enter the token you want the webhook to use&amp;nbsp;&lt;/SPAN&gt;in the &lt;STRONG style="font-family: inherit;"&gt;Secret token&lt;/STRONG&gt;&lt;SPAN&gt; field.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conversation_new_webhook_secret_token.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5852i96EA1381BADC7E61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="conversation_new_webhook_secret_token.png" alt="conversation_new_webhook_secret_token.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select all the triggers you want to add to the webhook, in the &lt;STRONG&gt;Triggers&lt;/STRONG&gt; down-down:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conversation_new_webhook_triggers.png" style="width: 372px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5850i2F39F7AFD3EC6628/image-dimensions/372x436?v=v2" width="372" height="436" role="button" title="conversation_new_webhook_triggers.png" alt="conversation_new_webhook_triggers.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For more information about the kinds of information and events the triggers can return, see the &lt;A style="font-family: inherit; background-color: #ffffff;" href="https://developers.sinch.com/docs/conversation/callbacks/#webhook-triggers" target="_blank" rel="noopener"&gt;webhook triggers&lt;/A&gt;&lt;SPAN&gt; documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To configure OAuth2.0 authentication, click the button under&amp;nbsp;&lt;STRONG&gt;Enable OAuth2 authentication&lt;/STRONG&gt;. Populate the&amp;nbsp;&lt;STRONG&gt;Client ID&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;Client secret&lt;/STRONG&gt;, and&amp;nbsp;&lt;STRONG&gt;Token endpoint&lt;/STRONG&gt; fields with the credentials Sinch will use to authenticate against the OAuth token-provision endpoint.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conversation_new_webhook_oauth2.png" style="width: 378px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5847i8D3EE47BCFCDD3CB/image-dimensions/378x444?v=v2" width="378" height="444" role="button" title="conversation_new_webhook_oauth2.png" alt="conversation_new_webhook_oauth2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG style="font-family: inherit;"&gt;Create&lt;/STRONG&gt;&lt;SPAN&gt; to add the webhook.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="conversation_new_webhook_create.png" style="width: 380px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/5848iE406D5258AFF9AFE/image-dimensions/380x446?v=v2" width="380" height="446" role="button" title="conversation_new_webhook_create.png" alt="conversation_new_webhook_create.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;The webhook is created and is displayed in the &lt;STRONG style="font-family: inherit;"&gt;Webhooks&lt;/STRONG&gt;&lt;SPAN&gt; section of the app page.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alex_Sberna_4-1631652072889.png" style="width: 999px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/1223i4F8ED69522C470FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Alex_Sberna_4-1631652072889.png" alt="Alex_Sberna_4-1631652072889.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Nov 2024 07:00:59 GMT</pubDate>
    <dc:creator>Alex_Sberna</dc:creator>
    <dc:date>2024-11-21T07:00:59Z</dc:date>
    <item>
      <title>How to add a webhook to a Conversation API app</title>
      <link>https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100</link>
      <description>&lt;P&gt;Next Steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://preview.redoc.ly/bumblebee/getting-started-revamp/docs/conversation/getting-started/node/incoming-message/" target="_blank" rel="noopener"&gt;Learn how to respond to messages sent using your webhook&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 21 Nov 2024 07:00:59 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Conversation-API/How-to-add-a-webhook-to-a-Conversation-API-app/ta-p/8100</guid>
      <dc:creator>Alex_Sberna</dc:creator>
      <dc:date>2024-11-21T07:00:59Z</dc:date>
    </item>
  </channel>
</rss>

