Connect a number you already have
Bring a number the account already owns at its carrier. sip works with any carrier or PBX
that offers a SIP trunk; exotel sets it up through the connected Exotel account. The reply
says what to change at the carrier, if anything. Connected numbers carry no Levrage rent.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
number
The number, in international format, e.g. +918045671234
provider
sip (any carrier or PBX over SIP) or exotel
sip_address
sip: your carrier’s SIP address (host or IP, optional port)
username
sip: the SIP login, if your carrier uses one
password
sip: its password; never returned
transport
sip: auto, udp, tcp or tls
exotel_account_id
exotel: from GET /v1/numbers/exotel-accounts
agent_id
The agent that answers it (optional; set later with PUT /v1/numbers/{number}/agent)
Response
Successful Response
Errors
422
Unprocessable Entity Error
