Skip to main content
POST
/
api
/
v1
/
telephony
/
numbers
Register a phone number
curl --request POST \
  --url https://api.kataven.ai/v1/api/v1/telephony/numbers \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "agent_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z",
  "credentials_id": "prov_01HZ2N7G3K8M0Q5R7T9V2X4Y6Z",
  "e164": "+12025550123",
  "inbound_enabled": true,
  "outbound_enabled": true,
  "provider": "twilio"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.kataven.ai/llms.txt

Use this file to discover all available pages before exploring further.

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