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

Authorization

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

Path parameters

topicKeystringrequired#
The key identifier of the topic
identifierstringrequired#
The unique identifier of the subscription

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
namestring#
The name of the subscription

Example:"My Subscription"

preferencesstring · object[]#
The preferences of the topic. Can be a simple workflow ID string, workflow preference object, or group filter object
Example:

Responses

application/json
OK
_idstringrequired#
The unique identifier of the subscription

Example:"64f5e95d3d7946d80d0cb679"

identifierstring#
The identifier of the subscription

Example:"tk=product-updates:si=subscriber-123"

namestring#
The name of the subscription

Example:"My Subscription"

topicobjectrequired#
The topic information
subscriberobjectrequired#
The subscriber information
preferencesobject[]#
The preferences for workflows in this subscription
contextKeysstring[]#
Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)
Example:
createdAtstringrequired#
The creation date of the subscription

Example:"2025-04-24T05:40:21Z"

updatedAtstringrequired#
The last update date of the subscription

Example:"2025-04-24T05:40:21Z"