SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I set up global webhooks for Conversations (classic)?

Objective

Global webhooks send Conversations events to your own server, either before an event is committed so you can intercept it, or after it is committed so you can react to it. This article helps you set the URLs Twilio calls and the HTTP method it uses.

 

Product

Twilio Conversations

 

Environment

Twilio Console

 

Procedure

  1. In the Twilio Console, select Communications in the left sidebar.
  2. Select Conversations (classic), then Settings.
  3. Select the Global webhooks tab, then Webhook target.
  4. Enter a Pre-Event URL, the absolute URL that pre-event webhook requests are sent to, if you want to intercept events.
  5. Enter a Post-Event URL, the absolute URL that post-event webhook requests are sent to, if you want to react to changes after they are committed.
  6. Choose a Method: HTTP GET or HTTP POST.
  7. Select Save. A confirmation message reads Webhook target saved.

 

Additional Information

  • You can configure the pre-event target, the post-event target, or both. They may even be the same URL.
  • Method is required. A malformed URL is rejected before the form is submitted, with a message telling you the field must be a valid URL.
  • Clearing a URL field and saving turns that webhook off.
  • Webhooks arrive at your URLs with form-encoded parameters describing the event.
  • If your account is set up for more than one region, use the region selector on the page to change which region's webhook target you are editing.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk