latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

Save a channels config

Save the channels configuration for a given key.

put/channels

Request body

disabledboolean

Disables the plan so it cannot be executed.

keystring required

Unique identifier for this delivery plan.

Example request

{
  "channels": [
    {
      "channel": "in_app"
    },
    {
      "channel": "email",
      "if": "{{notification.unseen}} == false"
    }
  ],
  "key": "project"
}

Response

OK

disabledboolean

Disables the plan so it cannot be executed.

keystring required

Unique identifier for this delivery plan.

Example response

{
  "channels": [
    {
      "channel": "in_app"
    },
    {
      "channel": "email",
      "if": "{{notification.unseen}} == false"
    }
  ],
  "key": "project"
}