UpdateWebhookRequest

Schema

Webhook object represents an endpoint, on which webhook notifications will be delivered.

Fields

· 4
url string · uri required

URL to which the webhook notification will be delivered.

events array of string required

Event type for which webhook will send the notification.

values

  • ACCOUNTS.CONNECTED
  • ACCOUNTS.DISCONNECTED
  • PROFILES.ADDED
  • PROFILES.UPDATED
  • PROFILES_AUDIENCE.ADDED
  • PROFILES_AUDIENCE.UPDATED
is_active boolean · default: true

true if webhook should be set to active else false.

Note:
If fails to deliver the webhook in 3 attempts then it sets is_active to false and will not deliver notifications until you fix it and update the status by invoking the PUT /v1/webhooks/{webhook_id} API.

name string · min length: 1· max length: 100 required

Reference name for the webhook

Used by

· 1 operation