latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-15394599.9 KB

58dc5cff0ca7

Phone Numbers

Link an agent to a phone number

Associates an agent with a phone number for the given direction.

DirectionEffect
inboundAgent handles incoming calls on this number
outboundAgent is used as the default for outbound calls from this number
bothBoth directions
post/v2/phone-numbers/link-agent

Request body

phone_number_idstring required
agent_uidstring required
direction'inbound' | 'outbound' | 'both' required

Response

Updated phone number.

idstring required
phone_numberstring required
namestring
inbound_agent_uidstring
outbound_agent_uidstring
created_atstring date-time
updated_atstring date-time