Create a new webhook for messages
Webhooks
Create a new webhook for messages
Creates a new webhook that triggers on events from messages.
POST
Create a new webhook for messages
Authorizations
Body
application/json
Available options:
message.received, message.delivered The endpoint that receives events from the webhook.
Example:
"https://example.com"
Webhook's label
Example:
"my webhook label"
The unique identifiers of the phone numbers associated with the webhook.
Pattern:
^PN(.*)$Example:
["PN1234"]
The status of the webhook.
Available options:
enabled, disabled Example:
"enabled"
The unique identifier of the user that creates the webhook. If not provided, default to workspace owner.
Pattern:
^US(.*)$Example:
"US123abc"
Response
Success