Update a topic subscription
Update a topic subscription using the Novu REST API. Requires your environment secret key in the Authorization header.
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Path Parameters
The key identifier of the topic
The unique identifier of the subscription
Body
The name of the subscription
"My Subscription"
The preferences of the topic. Can be a simple workflow ID string, workflow preference object, or group filter object
[
{
"workflowId": "workflow-123",
"condition": { "===": [{ "var": "tier" }, "premium"] }
}
]Response
OK
The unique identifier of the subscription
"64f5e95d3d7946d80d0cb679"
The topic information
The subscriber information
The creation date of the subscription
"2025-04-24T05:40:21Z"
The last update date of the subscription
"2025-04-24T05:40:21Z"
The identifier of the subscription
"tk=product-updates:si=subscriber-123"
The name of the subscription
"My Subscription"
The preferences for workflows in this subscription
Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)
["tenant:org-a", "project:proj-123"]