Fetch configuration webhook

GET /v1/Configuration/Webhooks

A Webhook resource manages a service-level set of callback URLs and their configuration for receiving all conversation events.

Responses

  • OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The unique ID of the Account responsible for this conversation.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • filters array[string] | null

      The list of webhook event triggers that are enabled for this Service.

    • method string | null

      The HTTP method to be used when sending a webhook request.

      Values are GET or POST.

    • post_webhook_url string | null

      The absolute url the post-event webhook request should be sent to.

    • pre_webhook_url string | null

      The absolute url the pre-event webhook request should be sent to.

    • target string | null

      The routing target of the webhook.

      Values are webhook or flex.

    • url string(uri) | null

      An absolute URL for this webhook.

GET /v1/Configuration/Webhooks
curl \
 -X GET https://conversations.twilio.com/v1/Configuration/Webhooks \
 --user "username:password"
Response examples (200)
{
  "account_sid": "string",
  "filters": [
    "string"
  ],
  "method": "GET",
  "post_webhook_url": "string",
  "pre_webhook_url": "string",
  "target": "webhook",
  "url": "https://example.com"
}
Response examples (200)
{
  "account_sid": "string",
  "filters": [
    "string"
  ],
  "method": "GET",
  "post_webhook_url": "string",
  "pre_webhook_url": "string",
  "target": "webhook",
  "url": "https://example.com"
}