v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

Fetch User object subscriptions

API to fetch all objects that a given user is subscribed to.

get/v1/user/{distinct_id}/subscribed_to/object/

Path parameters

distinct_idstring required

Unique identifier of the user in your system

Query parameters

limitinteger

number of results to be returned in API response

Response

200

Example response

{
  "meta": {
    "count": 4,
    "limit": 10,
    "before": "01JXXXX99APxxxxxx8Wxxxx1B",
    "after": "02KXXXX99APxxxxxx0Wxxxx1A"
  },
  "results": [
    {
      "object": {
        "id": "frontend",
        "object_type": "department",
        "subscriptions_count": 1,
        "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"
    }
  ]
}