Skip to main content
GET
/
api
/
ai
/
number
/
list
List Numbers
curl --request GET \
  --url https://app.aisync.link/api/ai/number/list \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "number_id": "<string>",
      "phone_number": "<string>",
      "country": "<string>",
      "status": "<string>",
      "agent_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "current_page": 123,
  "per_page": 123,
  "total": 123
}

List Numbers

Retrieve a paginated list of all AI phone numbers associated with your account. Use this endpoint to get an overview of all your AI numbers and their details.
page
integer
required
The page number to retrieve (starts from 1)
per_page
integer
required
Number of numbers to return per page (maximum 100)
Authorization
string
required
Bearer token in the format: Bearer {access_token}
Content-Type
string
required
Must be set to application/json
curl --location 'https://app.aisync.link/api/ai/number/list?page=1&per_page=25' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {{bearer_token}}'
data
array
Array of phone number objects containing number details
current_page
integer
The current page number
per_page
integer
Number of items per page
total
integer
Total number of phone numbers available
Use pagination parameters to efficiently retrieve large lists of phone numbers. The maximum number of numbers per page is 100.

Authorizations

Authorization
string
header
required

Bearer token authentication. Include the access token in the Authorization header as 'Bearer {access_token}'

Query Parameters

page
integer
default:1
required

The page number to retrieve (starts from 1)

Required range: x >= 1
per_page
integer
default:25
required

Number of numbers to return per page (maximum 100)

Required range: 1 <= x <= 100

Response

List of phone numbers

data
object[]
required

Array of phone number objects containing number details

current_page
integer
required

The current page number

per_page
integer
required

Number of items per page

total
integer
required

Total number of phone numbers available