GET
/
v1
/
subscriber_list
/
{list_id}
/
subscriber
curl --request GET \
  --url https://hub.suprsend.com/v1/subscriber_list/{list_id}/subscriber/ \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "limit": 2,
    "count": 10,
    "before": "01HAZ8CZ111111",
    "after": "01H9S626C33222222",
    "has_prev": true,
    "has_next": true
  },
  "results": [
    {
      "id": "01HENBBNXXXXXXXXXX",
      "distinct_id": "distinct_id_1",
      "created_at": "2023-11-07T16:55:23.736016+00:00"
    },
    {
      "id": "01HENBYYYYYYYYYY",
      "distinct_id": "distinct_id2",
      "created_at": "2023-11-07T16:55:23.751078+00:00"
    }
  ]
}

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

list_id
string
default:list_id
required

The list_id of your subscriber list

Query Parameters

limit
integer
default:20
before
string

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

after
string

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

sort
string
default:-id

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

Response

200
application/json
200
meta
object
results
object[]