Skip to main content
GET
/
sip-trunks
/
{id}
/
available-numbers
List Available Phone Numbers
curl --request GET \
  --url https://api.revring.ai/v1/sip-trunks/{id}/available-numbers \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "available": [
      "+12025550113"
    ],
    "assigned": [
      {
        "e164": "+12025550111",
        "agentId": "<string>",
        "agentName": "<string>"
      }
    ]
  }
}

Documentation Index

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

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

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Path Parameters

id
string<uuid>
required

SIP trunk ID

Response

Trunk's phone number pool, partitioned

data
object