Skip to main content
PUT
Update Subscription Events

Headers

Authorization
string
required

A client API key (Agency dashboard → Clients → select a client → API Access tab) or the agency API key. Client keys can only manage their own client's subscriptions, agents and phone numbers.

Path Parameters

subscriptionId
string
required

Webhook subscription ID

Body

application/json
add
enum<string>[]
Available options:
call.started,
call.missed,
call.ended,
call.inbound
remove
enum<string>[]
Available options:
call.started,
call.missed,
call.ended,
call.inbound

Response

Events updated

_id
string

Unique identifier for the subscription

clientId
string

The client that owns the subscription

agentId
string

The agent the subscription is for (agent-level events)

phoneNumberId
string

The phone number the subscription is for (call.inbound)

webhookUrl
string

The URL where event notifications are sent

events
enum<string>[]

Events that trigger notifications

Available options:
call.started,
call.missed,
call.ended,
call.inbound
createdAt
string<date-time>
updatedAt
string<date-time>