Skip to main content
PATCH
Update phone number

Authorizations

X-API-Key
string
header
required

Path Parameters

account_id
string<uuid4>
required
phone_number_id
string<uuid4>
required

Body

application/json
number
string | null

E.164 phone number

name
string | null

Friendly name

inbound_agent_id
string | null

Inbound Agent UUID (set null to unassign)

sip_trunk_id
string | null

SIPTrunk UUID (set null to unlink)

Response

OK

id
string<uuid4>
required
number
string | null
sip_trunk
SIPTrunkBaseV1Out · object | null
inbound_agent
NumberAgentV1Out · object | null
spam_data
Spam Data · object | null
friendly_name
string | null
Maximum string length: 100
tellows_data
Tellows Data · object | null

Tellows spam check data including score, complaints, caller info, and check timestamp