Retrieve subscriber subscriptions
Retrieve subscriber's topic subscriptions by its unique key identifier **subscriberId**. Checkout all available filters in the query section.
Retrieve subscriber's topic subscriptions by its unique key identifier subscriberId. Checkout all available filters in the query section.
Authorization
secretKey API key authentication. Allowed headers-- "Authorization: ApiKey <secret_key>".
In: header
Path Parameters
The identifier of the subscriber
Query Parameters
Cursor for pagination indicating the starting point after which to fetch results.
Cursor for pagination indicating the ending point before which to fetch results.
Limit the number of items to return (max 100)
value <= 100Direction of sorting
Value in
- "ASC"
- "DESC"
Field to order by
Include cursor item in response
Filter by topic key
Filter by exact context keys, order insensitive (format: "type:id")
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/subscribers/string/subscriptions?limit=10&contextKeys=tenant%3Aorg-123&contextKeys=region%3Aus-east-1"{ "data": { "data": [ { "_id": "64da692e9a94fb2e6449ad08", "identifier": "tk=product-updates:si=subscriber-123", "createdAt": "2021-01-01T00:00:00.000Z", "topic": { "_id": "64da692e9a94fb2e6449ad06", "key": "product-updates", "name": "Product Updates", "createdAt": "2023-08-15T00:00:00.000Z", "updatedAt": "2023-08-15T00:00:00.000Z" }, "subscriber": { "_id": "64da692e9a94fb2e6449ad07", "subscriberId": "user-123", "avatar": "https://example.com/avatar.png", "firstName": "John", "lastName": "Doe", "email": "[email protected]" }, "contextKeys": [ "tenant:org-a", "project:proj-123" ] } ], "next": "string", "previous": "string", "totalCount": 0, "totalCountCapped": true }}Bulk update subscriber preferences PATCH
Bulk update subscriber preferences by its unique key identifier **subscriberId**. This API allows updating multiple workflow preferences in a single request.
Retrieve subscriber notifications GET
Retrieve in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**. Supports filtering by tags, read/archived/snoozed/seen state, data attributes, severity, date range, and context keys.