v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Get Dial Lists

This endpoint retrieves all dial lists available to the client.

get/diallists

Query parameters

pageinteger

The current page of results to retrieve.

per_pageinteger

The number of results to pull back. Allowed values: 25, 50, 100, -1 (for all).

sortstring

The order for record sorting. Allowed values are asc and desc.

orderstring

The field for sorting records. Allowed values: id, name, scope, type, length, status.

searchstring

A value to search the name field by for the request.

search_statusesstring[]

The statuses to filter by. Allowed values are active and inactive.

search_scopesstring[]

The scopes to filter by. Allowed values are client and system.

Response

200

Example response

{
  "data": [
    {
      "id": 1,
      "name": "Test Dial List",
      "numbers": [
        {
          "number": "+15555555551"
        }
      ],
      "scope": "client",
      "status": "active",
      "numbers_count": 2
    }
  ],
  "meta": {
    "total": 1,
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 25,
    "order": "id",
    "sort": "desc"
  }
}