Skip to main content
PATCH
Assign or clear the inbound agent for a workspace phone number
Required scope: phone_numbers.edit

Authorizations

Authorization
string
header
required

Your API key, e.g. pk_live_xxxxxxxxxxxxxxxxxxxxxxxx.

Path Parameters

id
string<uuid>
required

Body

application/json
agentId
string<uuid> | null
required

Response

OK

id
string
required
e164
string
required
country
string | null
required
region
string | null
required
capabilities
object
required
assignedAt
string<date-time> | null
required
inboundAgentId
string | null
required
inboundAgentName
string | null
required
inboundReady
boolean
required