POST
/
v5
/
notifications
/
settings
Create a new notification settings
curl --request POST \
  --url https://api.kadoa.com/v5/notifications/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "workflowId": "<string>",
  "eventType": "workflow_started",
  "eventConfiguration": {},
  "enabled": true,
  "channelIds": [
    "<string>"
  ]
}'
{
  "data": {
    "settings": {
      "id": "<string>",
      "workflowId": "<string>",
      "eventType": "<string>",
      "eventConfiguration": {},
      "enabled": true,
      "channels": [
        {
          "id": "<string>",
          "name": "<string>",
          "channelType": "<string>"
        }
      ],
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  },
  "status": "<string>",
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201
application/json

Settings created successfully

The response is of type object.