cURL
curl --request PATCH \ --url https://api.itellico.ai/v1/accounts/{account_id}/phone-numbers/{phone_number_id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "number": "<string>", "name": "<string>", "inbound_agent_id": "<string>", "sip_trunk_id": "<string>" } '
{ "id": "<string>", "number": "<string>", "sip_trunk": { "id": "<string>", "name": "<string>" }, "inbound_agent": { "id": "<string>", "name": "<string>", "avatar": "<string>" }, "spam_data": {}, "friendly_name": "<string>", "tellows_data": {} }
Update a phone number’s E.164 value, name, SIP trunk link, or inbound agent assignment.
E.164 phone number
Friendly name
Inbound Agent UUID (set null to unassign)
SIPTrunk UUID (set null to unlink)
OK
Show child attributes
100
Tellows spam check data including score, complaints, caller info, and check timestamp
Was this page helpful?