GET
/
phone_numbers
List phone numbers
curl --request GET \
  --url https://api.vogent.ai/api/phone_numbers
{
  "data": [
    {
      "id": "<string>",
      "number": "+18001234567",
      "type": "PSTN",
      "agentId": "<string>"
    }
  ],
  "cursor": "<string>"
}

Query Parameters

limit
integer
default:100

The maximum number of phone numbers to list.

cursor
string

The pagination cursor returned by the previous request. Feed the result provided by vogent verbatim.

Response

Successful operation

data
object[]
required
cursor
string | null
required

A cursor you can pass to fetch the next page. If no next page exists, the cursor will be null.