Skip to main content
patch/v2/subscribers/{subscriberId}/preferences/bulk
Request example
Response
patch/v2/subscribers/{subscriberId}/preferences/bulk

Authorization

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

Path parameters

subscriberIdstringrequired#
The identifier of the subscriber

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
preferencesobject[]required#
Array of workflow preferences to update (maximum 100 items)

Items: max 100

contextobject#

Responses

application/json
OK
levelenum<string>required#
The level of the preference (global or template)
Options:globaltemplate
workflowobject#
Workflow information if this is a template-level preference
enabledbooleanrequired#
Whether the preference is enabled

Example:true

channelsobjectrequired#
Channel-specific preference settings
conditionobject#
Condition using JSON Logic rules