Skip to main content
GET
/
h
/
v2
/
contact-lists
/
{contact_list_id}
/
contacts
List contacts in a list
curl --request GET \
  --url https://api.openmic.ai/h/v2/contact-lists/{contact_list_id}/contacts \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "contacts": [
    {
      "id": 123,
      "name": "<string>",
      "phone_number": "<string>",
      "phone_number_2": "<string>",
      "phone_number_3": "<string>",
      "contact_info": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Path Parameters

contact_list_id
integer
required

Query Parameters

page_size
integer

Number of records per page (default 50, max 100).

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor returned by the previous response.

Response

Paginated list of contacts.

has_more
boolean
required

Whether more records exist after this page.

contacts
object[]
required
next_cursor
string

Opaque cursor to pass as cursor in the next request.