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

Request

  • Base URL: https://api.notifly.io
  • URL: https://api.notifly.io/v2/subscribers/{subscriberId}/preferences/bulk
  • Auth: API key in header Authorization

Path parameters

subscriberIdstring required

The identifier of the subscriber

Request body

contextobject

Response

OK

Example response

{
  "data": [
    {
      "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
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.