Skip to main content
GET
Returns the phone numbers registered to your organization. Use these numbers as the from_number_id when initiating calls via the Make AI Phone Call endpoint.

Headers

string
requerido
Your API key for authentication. Found in your dashboard under API settings.

Query Parameters

number
predeterminado:"5"
Maximum number of records to return. Must be ≥ 0.
number
predeterminado:"0"
Number of records to skip for pagination.
string
predeterminado:"desc"
Sort direction by creation date. Possible values: asc, desc.
string
Filter by number type. Possible values: inbound, outbound.

Response

The response contains statusCode, a data array, and pagination with page, total_rows, and total_pages.
array
Array of phone number objects.
object
Pagination metadata: page, total_rows, and total_pages.

Error Codes

  • 401 Unauthorized — Invalid or missing API key
  • 500 Internal Server Error — Server-side error

Code Examples