Update subscriber preferences
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
Authorization
Authorization
<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/json
Requiredchannels
RequiredobjectChannel-specific preference settings
workflowId
stringWorkflow internal _id, identifier or slug. If provided, update workflow specific preferences, otherwise update global preferences
Path Parameters
subscriberId
RequiredstringHeader Parameters
idempotency-key
stringA header for idempotency purposes
Response Body
OK
global
RequiredobjectGlobal preference settings
workflows
Requiredarray<object>Workflow-specific preference settings