v17

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-173538121.5 KB
Phone Numbers

Link Bot to Phone Number

Link a bot (agent) to a phone number for inbound/outbound calls.

post/v1/phone-numbers/link-agent

Request body

phone_number_idstring required

Unique identifier of the phone number

agent_idstring required

Bot ID to link

direction'inbound' | 'outbound' | 'both' required

Direction for the bot assignment

Response

Bot linked to phone number successfully

phone_number_idstring required

Unique identifier of the phone number

phone_numberstring required

Phone number in E.164 format

inbound_agent_idstring

Bot ID for inbound calls

outbound_agent_idstring

Bot ID for outbound calls

messagestring required

Success message