Create a webhook subscription
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The ID for the workspace.
b4e02c85-c6d2-4b15-8885-e09671799c61The service that the webhook is subscribed to. For example, to get events regarding channels, the service would be channels.
The event name identifies the webhook event, such as sms.outbound for notifications about SMS messages being sent.
sms.outboundThe URL of the webhook is used to send events to the webhook. The URL must be a valid URL that respects the established pattern and is accessible from the internet.
https://example.com/webhookPattern: ^https://([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(/[^\s]*)?$The signing key for the webhook and can be used to verify the authenticity of the webhook.
KeV+/HGoIQrxuE5YPCRR6AuQOJveldYNNhbVi1i22qk=The webhook subscription was created successfully.
The unique identifier for the webhook subscription. This identifier is used to reference the webhook subscription in other API calls.
cb28a94e-8557-4394-80ea-5bbd2170d434b4e02c85-c6d2-4b15-8885-e09671799c61The service that the webhook is subscribed to. For example, to get events regarding channels, the service would be channels.
The event name identifies the webhook event, such as sms.outbound for notifications about SMS messages being sent.
sms.outboundThe URL of the webhook is used to send events to the webhook. The URL must be a valid URL that respects the established pattern and is accessible from the internet.
https://example.com/webhookPattern: ^https://([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(/[^\s]*)?$The signing key for the webhook and can be used to verify the authenticity of the webhook.
KeV+/HGoIQrxuE5YPCRR6AuQOJveldYNNhbVi1i22qk=A human-readable explanation for the current status of the webhook subscription.
Invalid HTTP request. The HTTP response should include details about the error.
The HTTP request is well-formed but was unable to be processed. The HTTP response should include details about the error.
Examples
Last updated
Was this helpful?

