Skip to main content
PATCH
TypeScript

Authorizations

Authorization
string
header
required

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

Headers

idempotency-key
string

A header for idempotency purposes

Path Parameters

topicKey
string
required

The key identifier of the topic

identifier
string
required

The unique identifier of the subscription

Body

application/json
name
string

The name of the subscription

Example:

"My Subscription"

preferences
string · object · object[]

The preferences of the topic. Can be a simple workflow ID string, workflow preference object, or group filter object

Example:

Response

OK

_id
string
required

The unique identifier of the subscription

Example:

"64f5e95d3d7946d80d0cb679"

topic
object
required

The topic information

subscriber
object | null
required

The subscriber information

createdAt
string
required

The creation date of the subscription

Example:

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

updatedAt
string
required

The last update date of the subscription

Example:

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

identifier
string

The identifier of the subscription

Example:

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

name
string

The name of the subscription

Example:

"My Subscription"

preferences
object[]

The preferences for workflows in this subscription

contextKeys
string[]

Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)

Example: