Subscribers
Bulk update subscriber preferences
Bulk update subscriber preferences by its unique key identifier subscriberId. This API allows updating multiple workflow preferences in a single request.
patch/v2/subscribers/{subscriberId}/preferences/bulk
Path parameters
subscriberIdstring required
The identifier of the subscriber
Request body
Response
OK
Example response
[
{
"workflow": {
"id": "64a1b2c3d4e5f6g7h8i9j0k1",
"identifier": "welcome-email",
"name": "Welcome Email Workflow",
"tags": [
"user-onboarding",
"email"
],
"data": {
"category": "onboarding",
"priority": "high"
}
},
"enabled": true,
"channels": {
"email": true,
"in_app": true,
"push": true,
"tool": true
}
}
]