Create Webhook
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
url
URL of webhook endpoint.
event_types
Event types to send. Must explicitly include all event types to receive.
Allowed values:
inbox_ids
Inbox IDs for which to send events. Omit to send events for all inboxes.
Response
This endpoint returns an object.
webhook_id
ID of webhook.
url
URL of webhook endpoint.
secret
Secret for webhook signature verification.
enabled
Whether the webhook is enabled.
updated_at
Time at which webhook was last updated.
created_at
Time at which webhook was created.
event_types
Event types to send. Must explicitly include all event types to receive.
Allowed values:
inbox_ids
Inbox IDs for which to send events. Omit to send events for all inboxes.