Phone Numbers
List phone numbers assigned to your organization.
Phone numbers are provisioned through the ErzyCall dashboard. The API provides read-only access to view which numbers are assigned to your organization.
List Phone Numbers
GET /api/v1/phone-numbersRequired scope: phone_numbers:read
Example Request
curl -X GET "https://app.erzycall.com/api/v1/phone-numbers" \
-H "X-API-Key: ek_live_abc123"Example Response
{
"data": [
{
"id": "pn_001",
"number": "+14155559999",
"label": "Main Line",
"createdAt": "2025-01-01T00:00:00Z"
},
{
"id": "pn_002",
"number": "+14155558888",
"label": "Sales Line",
"createdAt": "2025-01-03T00:00:00Z"
}
]
}Usage
Use phone numbers from this list as the from field when creating calls. The API validates that the from number belongs to your organization.