POST
/
v1
/
workflow-overrides
curl --request POST \
  --url https://api.novu.co/v1/workflow-overrides \
  --header 'Content-Type: application/json' \
  --data '{
  "workflowId": "<string>",
  "tenantId": "<string>",
  "active": true,
  "preferenceSettings": {
    "email": true,
    "sms": true,
    "in_app": true,
    "chat": true,
    "push": true
  }
}'
{
  "data": {
    "_id": "<string>",
    "_organizationId": "<string>",
    "_environmentId": "<string>",
    "_workflowId": "<string>",
    "_tenantId": "<string>",
    "active": true,
    "preferenceSettings": {
      "email": true,
      "sms": true,
      "in_app": true,
      "chat": true,
      "push": true
    },
    "deleted": true,
    "deletedAt": "<string>",
    "deletedBy": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

Body

application/json
workflowId
string
required
tenantId
string
required
active
boolean
preferenceSettings
object

Response

200 - application/json
data
object