Authorizations
Body
Phone number in E.164 format (e.g. +14155550100). Must be a number from your Twilio account.
A friendly label for the number.
Monthly price of the number.
Per-minute inbound call rate.
per_minute_price_outbound
Per-minute outbound call rate.
Region or area code of the number.
ISO country code (e.g. US, GB).
The Twilio SID for this phone number (starts with PN).
Response
Whether the request succeeded.
Human-readable status message.
The added phone number record.
Unique record ID in Agni.
Telephony configuration ID.
Subscription ID if applicable.
Phone number in E.164 format.
per_minute_price_outbound
Outbound per-minute rate.
Whether the number is active.
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.
curl -X POST https://api.ravan.ai/api/v1/phone-numbers/add-twilio \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+14155550100",
"friendly_name": "Sales Line",
"price": 1.15,
"per_minute_price_inbound": 0.0085,
"per_minute_price_outbound": 0.0945,
"region": "CA",
"iso_country": "US",
"number_sid": "PNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}'
{
"success": true,
"message": "Twilio number added successfully",
"data": {
"id": "019d5e6f-7a8b-9c0d-1e2f-3a4b5c6d7e8f",
"telephony_id": "019d4c5e-7f8a-9b0c-1d2e-3f4a5b6c7d8e",
"subscription_id": "",
"inbound_trunk_id": "TK_inbound_xxxx",
"outbound_trunk_id": "TK_outbound_xxxx",
"number": "+14155550100",
"friendly_name": "Sales Line",
"type": "twilio",
"per_minute_price_inbound": 0.0085,
"per_minute_price_outbound": 0.0945,
"price": 1.15,
"region": "CA",
"iso_country": "US",
"is_active": true,
"created_at": "2026-03-20T14:30:00Z",
"updated_at": "2026-03-20T14:30:00Z"
}
}