Stores encrypted Twilio credentials for outbound calling. All three fields are required.
cURL
curl --request PUT \ --url https://api.vocobase.com/api/v2/config/telephony/twilio \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "auth_token": "your_auth_token", "from_number": "+14155551234" } '
{ "success": true, "data": { "account_sid": "ACxx****xxxx", "from_number": "+14155551234", "message": "Twilio credentials updated successfully." } }
API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.
rg_live_xxxx
Twilio Account SID.
"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Twilio Auth Token.
"your_auth_token"
Twilio phone number in E.164 format.
"+14155551234"
Twilio credentials updated.
Show child attributes