Skip to main content
POST
Connect Twilio

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.

Body

application/json
twilio
object
required

Your Twilio account credentials. Used for this request only and never stored. Provide authToken, or apiKeySid with apiKeySecret.

numbers
string[]
required

E.164 numbers on the Twilio account to connect

Required array length: 1 - 50 elements
agentId
string

Agent that answers these numbers

friendlyName
string
default:Twilio (connected)

Name of the RevRing trunk

Maximum string length: 128

Response

Connected

data
object