10-02-2024 12:16 AM
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.
I have setup a webhook in conversation api sms channel but it is not triggering.
10-02-2024 02:54 PM
Hello, thank you for reaching out!
If the webhook you set up for your Conversation API app isn't behaving as expected, you may need to review the triggers 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:
MESSAGE_DELIVERY
, which will deliver delivery receipts for messages sent by your Conversation API app.MESSAGE_INBOUND
, which will deliver inbound messages sent by end users on the underlying Conversation API channels (including the SMS channel).You can assign up to five webhooks to a single Conversation API app, and each of those webhooks may be configured for multiple triggers.
Note: These instructions are for the SMS channel of the Conversation API. If you are using the standalone SMS API, you'll configure your callbacks using a different method.
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 DEFAULT CALLBACK URL associated with the Service API assigned to the SMS channel of your Conversation API app. To review this URL:
Warning: If you wish to update the DEFAULT CALLBACK URL 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 Account Manager prior to updating any existing DEFAULT CALLBACK URL fields. |
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.
Thank you again for reaching out!