GET
/
v1
/
user
/
{distinct_id}
/
subscribed_to
/
list
curl --request GET \
  --url https://hub.suprsend.com/v1/user/{distinct_id}/subscribed_to/list/ \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "count": 8,
    "limit": 10,
    "has_prev": false,
    "before": null,
    "has_next": false,
    "after": "01HPMFF5V2CFCF5882QX9FQXYB"
  },
  "results": [
    {
      "list": {
        "list_description": "List of users to send newsletter to (Qualified leads + Product Users)",
        "list_id": "product_update",
        "list_name": "",
        "list_type": "static_list",
        "source": "csv_upload",
        "subscribers_count": 2,
        "updated_at": "2024-09-26T10:20:33.636698+00:00"
      },
      "created_at": "2024-08-04T13:16:12.825+00:00"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

distinct_id
string
required

Unique identifier of the user in your system

Query Parameters

limit
integer

number of results to be returned in API response

Response

200
application/json
200 - OK
meta
object

Metadata related to pagination.

results
object[]

List of user lists.