GET
/
v1
/
object
/
{object_type}
/
{id}
/
subscription
curl --request GET \
  --url https://hub.suprsend.com/v1/object/{object_type}/{id}/subscription/ \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "count": 3,
    "limit": 10,
    "has_prev": false,
    "before": null,
    "has_next": false,
    "after": null
  },
  "results": [
    {
      "properties": {},
      "user": null,
      "object": {
        "id": "devs",
        "object_type": "teams",
        "subscriptions_count": 1,
        "updated_at": "2025-04-06T11:00:24.257046+00:00"
      },
      "created_at": "2025-04-06T11:00:24.260496+00:00",
      "updated_at": "2025-04-06T11:00:24.260496+00:00"
    },
    {
      "properties": {
        "role": "employee"
      },
      "user": {
        "distinct_id": "akhil.m@suprsend.com",
        "updated_at": "2023-08-25T13:31:24.517819+00:00"
      },
      "object": null,
      "created_at": "2024-11-10T21:40:02.169501+00:00",
      "updated_at": "2024-11-10T21:40:02.169501+00:00"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier of the object in your system

object_type
string
required

Used to group similar objects together. Give plural namespace like teams, organizations, and roles.

Response

200
application/json
200
meta
object
results
object[]