Skip to main content
POST
Assign a Twilio number to an agent for SMS
The number must already exist in twilio_numbers and have:
  • capabilities containing 'sms'
  • accountSid and authToken saved (own-account only — platform-rented numbers reuse the platform account)
This also updates the agent doc with twilioSmsPhoneNumber, twilioSmsAccountSid, twilioSmsAuthToken, twilioSmsMode for backward compatibility with legacy SMS flows.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
twilioNumberId
string
required
agentId
string
required

Response

Successful response

success
boolean
required
message
string
required