Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your support@ravan.ai under Settings → API Keys.

Path Parameters

id
string
required
The unique ID of the imported phone number record.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
The imported phone number record.
curl https://api.ravan.ai/api/v1/phone-numbers/import/019d2a1b-4c5e-7f8a-9b0c-1d2e3f4a5b6c \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Imported number retrieved",
  "data": {
    "id": "019d2a1b-4c5e-7f8a-9b0c-1d2e3f4a5b6c",
    "phone": "+14155550100",
    "type": "sip",
    "name": "Office Main Line",
    "termination_uri": "sip:trunk@provider.com",
    "sip_username": "myuser",
    "sip_password": "mysecret",
    "status": "active",
    "created_at": "2026-03-20T14:30:00Z"
  }
}