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

Changes

No recorded changes to this endpoint across all 2 revisions of this API.