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

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 (max 100)

Range: <= 100

Example:10

orderDirectionenum<string>#
Direction of sorting
Options:ASCDESC
orderBystring#
Field to order by
includeCursorboolean#
Include cursor item in response
keystring#
Key of the topic to filter results.
namestring#
Name of the topic to filter results.

Headers

idempotency-keystring#
A header for idempotency purposes

Responses

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