Assign agent to SIP trunk number API
Set or clear the agent that answers inbound calls to a SIP trunk number via PATCH /trunk/numbers/.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The number's id
Body
Agent that answers inbound calls to this number. null, or leaving the field out, clears the assignment.
"123e4567-e89b-12d3-a456-426614174000"
Response
The updated number
"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9"
"3f2b8c1e-6d4a-4f7b-9e2c-1a5d7b9c0e21"
"+12025550143"
"12025550143"
Agent that answers inbound calls to this number. When null, the trunk's default_inbound_agent_id answers.
"123e4567-e89b-12d3-a456-426614174000"
When this number last took an inbound call, updated at most once a minute.
When an outbound call was last placed from this number, updated at most once a minute.

