Skip to main content
GET
/
api
/
v1
/
phone-numbers
/
import
/
{id}
Get Imported Number
curl --request GET \
  --url https://api.ravan.ai/api/v1/phone-numbers/import/{id} \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "phone": "<string>",
    "name": "<string>",
    "type": "<string>",
    "termination_uri": "<string>",
    "sip_username": "<string>",
    "status": "<string>",
    "created_at": "<string>"
  }
}

Authorizations

X-Api-Key
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.

Path Parameters

id
string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

Response

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

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Imported number ID

Response

200 - application/json

Successful response

success
boolean
message
string
data
object