POST
/
v1
/
webhooks
/
calls

Body

application/json
url
string
required

The endpoint that receives events from the webhook.

events
enum<string>[]
required

An 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: enabled

The status of the webhook.

Available options:
enabled,
disabled

Response

201 - application/json
data
object
required