v4

OpenAPI 3.0.0MIT2026-07-311554531.6 MB
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

contextobject

Response

OK

level'global' | 'template' required

The level of the preference (global or template)

enabledboolean required

Whether the preference is enabled

conditionobject nullable

Condition using JSON Logic rules

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
    }
  }
]