Subscribers
Bulk update subscriber preferences
Bulk update subscriber preferences using the Novu REST API. Requires your environment secret key in the Authorization header.
PATCH
PHP
Authorizations
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
Headers
A header for idempotency purposes
Path Parameters
The identifier of the subscriber
Body
application/json
Response
OK
The level of the preference (global or template)
Available options:
global, template Whether the preference is enabled
Example:
true
Channel-specific preference settings
Workflow information if this is a template-level preference
Condition using JSON Logic rules