Skip to main content
POST
Attach phone number to bot

Authorizations

Authorization
string
header
required

An API key (annie-sk-v2-...) or an OAuth access token, sent as Authorization: Bearer <token>.

Path Parameters

phoneNumberId
string<uuid>
required

The ID of the phone number to attach

Body

Payload required to attach a phone number to a bot

botId
string<uuid>
required

The bot ID to attach this phone number to

Response

Response returned after attaching a phone number to a bot

success
enum<boolean>
required
Available options:
true
data
object
required

Represents a phone number and its configuration