Agent

Import phone number

Changed on

Import a Twilio phone number and assign it to the agent

post/projects/{project_id}/agent/phones

Request

  • Base URL
    https://api.beyondwords.io/v1
  • URL
    https://api.beyondwords.io/v1/projects/{project_id}/agent/phones
  • Auth
    API key in header X-Api-Key

Request body

labelstring
phone_numberstring
sidstring
tokenstring
enabledboolean

Response

imports a twilio number and assigns it to the agent

idstring

Unique identifier for the phone number

typestring

The channel type. Currently always telephony.

providerstring

The telephony provider. Currently always twilio.

labelstring

A human-readable label for the phone number

phone_numberstring

The phone number in E.164 format

elevenlabs_channel_idstring

The identifier of the phone number in ElevenLabs

enabledboolean

Whether the agent currently answers calls on this number. Disabling it detaches the number from the agent in ElevenLabs without deleting the number itself.

created_atstring date-time

Time at which the object was created (ISO 8601)

Changes