Skip to main content
GET
/
v1
/
phone-numbers
List phone numbers
curl --request GET \
  --url https://api.zavu.dev/v1/phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "phoneNumber": "+15551234567",
      "capabilities": [
        "sms",
        "voice"
      ],
      "status": "active",
      "pricing": {
        "monthlyPrice": 123,
        "upfrontCost": 123,
        "monthlyCost": 123,
        "isFreeNumber": true
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "senderId": "<string>",
      "nextRenewalDate": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

status
enum<string>

Filter by phone number status.

Available options:
active,
suspended,
pending
limit
integer
default:50
Required range: x <= 100
cursor
string

Pagination cursor.

Response

List of phone numbers.

items
object[]
required
nextCursor
string | null