Skip to main content
POST
Unlink Bot from Phone Number

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as: Authorization: Bearer <your-api-key>

Body

application/json

Bot unlinking details

phone_number_id
string
required

The unique identifier of the phone number

direction
enum<string>
required

Direction to unlink (inbound, outbound, or both)

Available options:
inbound,
outbound,
both

Response

Bot unlinked from phone number successfully

phone_number_id
string
required

Unique identifier of the phone number

phone_number
string
required

Phone number in E.164 format

message
string
required

Success message

inbound_agent_id
string

Bot ID for inbound calls

outbound_agent_id
string

Bot ID for outbound calls