Create Webhook

Creates a new webhook target.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
urlstringRequiredformat: "text"
The URL of the webhook endpoint.
event_typeslist of enumsOptional
The event types that the webhook endpoint will receive.
secretstringOptionalformat: "byte"

The secret to use when verifying webhook events. If provided, the secret must be between 8 and 32 bytes (inclusive). If not set, a secret will be automatically generated and provided in the response.

Response

The response to creating a new webhook.
webhookobject

Errors