GET
/
v1
/
user
/
{distinct_id}
/
subscribed_to
/
object
/
Fetch User object subscriptions
curl --request GET \
  --url https://hub.suprsend.com/v1/user/{distinct_id}/subscribed_to/object/ \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "count": 4,
    "limit": 1,
    "has_prev": false,
    "before": null,
    "has_next": false,
    "after": null
  },
  "results": [
    {
      "properties": {
        "role": "manager"
      },
      "object": {
        "id": "frontend",
        "object_type": "department",
        "properties": {},
        "subscriptions_count": 10,
        "updated_at": "2025-01-28T16:49:23.695448+00:00"
      },
      "created_at": "2025-01-23T16:34:56.093683+00:00",
      "updated_at": "2025-01-23T16:34:56.093683+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

meta
object

Metadata related to pagination.

results
object[]

List of retrieved results.