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
- In the Twilio Console, select Communications in the left sidebar.
- Select Conversations (classic), then Settings.
- Select the Global webhooks tab, then Webhook target.
- Enter a Pre-Event URL, the absolute URL that pre-event webhook requests are sent to, if you want to intercept events.
- 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.
- Choose a Method: HTTP GET or HTTP POST.
- 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.