Skip to main content
POST
Register a phone number

Authorizations

Authorization
string
header
required

Headers

X-Account-ID
string

Tenant database. Required when using a Zitadel JWT.

Body

application/json

Number spec

Number spec

agent_id
string
Example:

"agent_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z"

credentials_id
string
Example:

"prov_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z"

e164
string
Example:

"+12025550123"

inbound_enabled
boolean
Example:

true

outbound_enabled
boolean
Example:

true

provider
enum<string>
Available options:
twilio,
plivo,
vobiz
Example:

"twilio"

Response

Created

{key}
string