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

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

E.g ApiKey 18d2e625f05d80e

Body

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

Response

200 - application/json
data
object