Skip to main content
POST
Create a new webhook for call transcripts

Authorizations

Authorization
string
header
required

Body

application/json
events
enum<string>[]
required
Minimum array length: 1
Available options:
call.transcript.completed
url
string<uri>
required

The endpoint that receives events from the webhook.

Example:

"https://example.com"

label
string

The webhook's label.

Example:

"my webhook label"

resourceIds

The unique identifiers of the phone numbers associated with the webhook.

Pattern: ^PN(.*)$
Example:

"PN1234"

status
enum<string>

The status of the webhook.

Available options:
enabled,
disabled
Example:

"enabled"

userId
string

The ID of the user that creates the webhook. If not provided, default to workspace owner.

Pattern: ^US(.*)$
Example:

"US123abc"

Response

Created

data
object
required