Retrieve subscriber preferences
Retrieve subscriber channel preferences by its unique key identifier **subscriberId**. This API returns all five channels preferences for all workflows and global preferences.
Retrieve subscriber channel preferences by its unique key identifier subscriberId. This API returns all five channels preferences for all workflows and global preferences.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Path Parameters
subscriberIdRequiredstringQuery Parameters
criticalitystring"nonCritical"Value in: "critical" | "nonCritical" | "all"contextKeysarray<string>Context keys for filtering preferences (e.g., ["tenant:acme"])
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
globalRequiredobjectGlobal preference settings
workflowsRequiredarray<object>Workflow-specific preference settings
Bulk create subscribers POST
Using this endpoint multiple subscribers can be created at once. The bulk API is limited to 500 subscribers per request.
Update subscriber preferences PATCH
Update subscriber preferences by its unique key identifier **subscriberId**. **workflowId** is optional field, if provided, this API will update that workflow preference, otherwise it will update global preferences