Skip to main content
get/v2/topics/{topicKey}/subscriptions
Request example
Response
get/v2/topics/{topicKey}/subscriptions

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

topicKeystringrequired#
The key identifier of the topic

Query parameters

afterstring#
Cursor for pagination indicating the starting point after which to fetch results.
beforestring#
Cursor for pagination indicating the ending point before which to fetch results.
limitnumber#
Limit the number of items to return (max 100)

Range: <= 100

Example:10

orderDirectionenum<string>#
Direction of sorting
Options:ASCDESC
orderBystring#
Field to order by
includeCursorboolean#
Include cursor item in response
subscriberIdstring#
Filter by subscriber ID
contextKeysstring[]#
Filter by exact context keys, order insensitive (format: "type:id")
Example:

Headers

idempotency-keystring#
A header for idempotency purposes

Responses

application/json
OK
dataobject[]required#
List of returned Topic Subscriptions
nextstringrequired#
The cursor for the next page of results, or null if there are no more pages.
previousstringrequired#
The cursor for the previous page of results, or null if this is the first page.
totalCountnumberrequired#
The total count of items (up to 50,000)
totalCountCappedbooleanrequired#
Whether there are more than 50,000 results available