Skip to main content
POST
Create Decision Engine Channel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a Decision Engine channel

type
enum<string>
required

Channel types that can be created through the API

Available options:
email,
push,
sms,
inapp,
raw
parentModelId
number<double>
required
externalId
string
required

The parent model column that identifies the user in the destination

label
string
destinationId
number<double>

Required for all types other than "raw"

enabled
boolean

Defaults to false, so that a new channel does not send until you enable it

guardrails
object

Rules that limit who the channel can send to and when

tags
object

Channel tags, by key. Each key and value must be in the channel tag configuration. A channel that is not raw has the tag channel = automatically, so its channel tag cannot be a channel type. A raw channel can use any value.

destinationConfig
object

Destination settings for the channel. Each destination uses only some of them.

sendEventId
string

An existing send event in the workspace

Response

Ok

A Decision Engine channel

id
string
required
label
string | null
required
type
string
required
parentModelId
number<double> | null
required
destinationId
number<double> | null
required
enabled
boolean
required
externalId
string | null
required

The parent model column that identifies the user in the destination

guardrails
object
required

Rules that limit who the channel can send to and when

tags
object
required

Channel tags, by key. Each key and value is in the channel tag configuration.

destinationConfig
object
required

Destination settings for the channel. Each destination uses only some of them.

sendEventId
string | null
required

The send event that tracks sends on this channel

createdAt
string<date-time>
required
updatedAt
string<date-time> | null
required