Webhooks
Create a new webhook for calls
Creates a new webhook that triggers on events from calls.
POST
/
v1
/
webhooks
/
calls
Authorizations
Authorization
string
headerrequiredBody
application/json
url
string
requiredThe endpoint that receives events from the webhook.
events
enum<string>[]
requiredAn event associated with the webhook.
Available options:
call.completed
, call.ringing
, call.recording.completed
resourceIds
The unique identifiers of the phone numbers associated with the webhook.
userId
string
The unique identifier of the user that creates the webhook. If not provided, default to workspace owner.
label
string
Webhook's label
status
enum<string>
default: enabledThe status of the webhook.
Available options:
enabled
, disabled
Response
201 - application/json
data
object
requiredWas this page helpful?