Skip to main content
get/v2/subscribers
Request example
Response
get/v2/subscribers

Authorization

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

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

Example:10

orderDirectionenum<string>#
Direction of sorting
Options:ASCDESC
orderBystring#
Field to order by
includeCursorboolean#
Include cursor item in response
emailstring#
Exact email address of the subscriber. The value must match the stored email field.
namestring#
Name of the subscriber to filter results.
phonestring#
Exact phone number of the subscriber. The value must match the stored phone field.
subscriberIdstring#
Unique identifier of the subscriber to filter results.

Headers

idempotency-keystring#
A header for idempotency purposes

Responses

application/json
OK
dataobject[]required#
List of returned Subscribers
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