POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Headers

Idempotency-Key
string

Up to 255 characters. Repeating a request with the same key replays the stored response for 24 hours; the same key with a different request is a 409.

Maximum string length: 255

Body

application/json
url
string<uri>
required
events
enum<string>[]
required
Available options:
*,
approval.requested,
approval.resolved,
approval.expired,
message.received,
message.status,
registration.updated,
inbox.item.created,
call.started,
call.ended,
call.transcript.ready,
usage.threshold,
phone.step,
phone.run.completed,
phone.fleet_run.completed,
phone.approval.requested,
phone.approval.resolved,
mail.received
description
string
Maximum string length: 200

Response

The endpoint, with its signing secret.

id
string
required
object
string
required
Allowed value: "webhook_endpoint"
url
string
required
events
string[]
required
created_at
string<date-time>
required
description
string | null
secret
string