Skip to main content
GET
https://app.autocalls.ai/api/
/
user
/
phone-numbers
/
all
Get all phone numbers
curl --request GET \
  --url https://app.autocalls.ai/api/user/phone-numbers/all \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "phone_number": "+14155551234",
      "country_code": "US",
      "type": "normal",
      "type_label": "Dedicated Number",
      "sms_capable": true,
      "region": "us1",
      "has_active_subscription": true,
      "created_at": "2025-01-08T10:30:00.000000Z"
    },
    {
      "id": 2,
      "phone_number": "+442071234567",
      "country_code": "GB",
      "type": "normal",
      "type_label": "Dedicated Number",
      "sms_capable": false,
      "region": "us1",
      "has_active_subscription": true,
      "created_at": "2025-01-05T14:20:00.000000Z"
    }
  ]
}
This endpoint returns a list of all phone numbers associated with your account, including their subscription status and capabilities.

Response

data
array
Array of phone number objects
{
  "data": [
    {
      "id": 1,
      "phone_number": "+14155551234",
      "country_code": "US",
      "type": "normal",
      "type_label": "Dedicated Number",
      "sms_capable": true,
      "region": "us1",
      "has_active_subscription": true,
      "created_at": "2025-01-08T10:30:00.000000Z"
    },
    {
      "id": 2,
      "phone_number": "+442071234567",
      "country_code": "GB",
      "type": "normal",
      "type_label": "Dedicated Number",
      "sms_capable": false,
      "region": "us1",
      "has_active_subscription": true,
      "created_at": "2025-01-05T14:20:00.000000Z"
    }
  ]
}
There is also a legacy endpoint GET /user/phone-numbers that returns only SMS-capable phone numbers with active subscriptions. Use this /all endpoint if you need all phone numbers regardless of SMS capability or subscription status.