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