Skip to main content
POST
Assign a phone number to a Voice Agent.

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Body

application/json
voiceAgentId
string
required

UUID of the voice agent to assign phone number to.

Example:

"d949f13f-40d2-4e48-ac86-b66633070603"

phoneNumber
string

Phone number to assign to voice agent, should start with + and the country code.

Example:

"+9700000000"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Success"

data
object