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"
}
]
}
Get all phone numbers owned by the authenticated user
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"
}
]
}
Show phone number properties
normal, sip, or caller_id{
"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"
}
]
}
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.