Skip to main content
POST
Create Telephony Type

Authorizations

string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Body

string
The telephony provider type to configure. Use the provider value supported by your account.
string
The owner type for the connected account or resource. Use the provider-specific value expected by the integration.
string
A human-readable label for the phone number. Use a name that helps your team identify its purpose.
string
The OAuth client ID from the connected provider.
string
The OAuth client secret from the connected provider. Treat this value as sensitive.

Response

boolean
Whether the request succeeded.
string
Human-readable status message.
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Body

application/json
type
string

Telephony provider type (e.g. twilio, vonage)

owner_type
string

Owner type (e.g. organization, user)

friendly_name
string

Human-readable label for this telephony config

client_id
string

Provider client/account ID

client_secret
string

Provider client secret or auth token

Response

200 - application/json

Successful response

success
boolean
message
string
data
object