v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Get list subscribers

API to fetch a cursor-based paginated list of all users in the list.

get/v1/subscriber_list/{list_id}/subscriber/

Path parameters

list_idstring required

The list_id of your subscriber list

Query parameters

limitinteger
beforestring

the 'id' before which the results need to be fetched

afterstring

the 'id' after which the results need to be fetched

sortstring

the sort order, ascending or descending, here it's decided by 'id': ascending and '-id': descending

Response

200

Example response

{
  "meta": {
    "before": "01HAZ8CZ111111",
    "after": "01H9S626C33222222"
  },
  "results": [
    {
      "distinct_id": "distinct_id_1",
      "created_at": "2023-11-07T16:55:23.736016+00:00"
    }
  ]
}