Skip to main content
PUT
Replace the full binding set for a channel on a phone number

Authorizations

x-api-key
string
header
required

Path Parameters

phone_number_id
string<uuid>
required
channel_type
string
required

Body

application/json
bindings
ChannelBinding · object[]

Desired set of bindings on this channel. Empty list drains the channel.

Response

Successful Response

id
string<uuid>
required
phone_number_id
string<uuid>
required
channel_type
enum<string>
required
Available options:
sms,
inbound_call,
outbound_call
created_at
string<date-time>
required
agent_id
string<uuid> | null
agent_revision_id
string<uuid> | null
team_id
string<uuid> | null
team_revision_id
string<uuid> | null
revision_state
enum<string> | null
Available options:
pinned_current,
pinned_stale,
legacy_unpinned
pinned_revision_name
string | null
active_revision_id
string<uuid> | null