Skip to main content
PATCH
Update a channel of a catalog event

Authorizations

Authorization
string
header
required

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

Path Parameters

document_id
string<uuid>
required
channel
enum<string>
required
Available options:
email,
in_app,
live_activity,
push,
sms,
whatsapp

Body

application/json
change_reason
string
required

Why the change is made; recorded in the audit log.

Required string length: 3 - 500
is_actived
boolean
quiet_hours_enabled
boolean
quiet_hours_start
string | null

HH:MM, 24-hour clock.

Example:

"22:00"

quiet_hours_end
string | null

HH:MM, 24-hour clock.

Example:

"08:00"

frequency_cap_count
integer | null
Required range: 1 <= x <= 1000
frequency_cap_scope
enum<string> | null
Available options:
category,
event
frequency_cap_window
string | null

ISO 8601 duration.

Example:

"P1D"

delay
string | null

ISO 8601 duration.

Example:

"PT15M"

fallback_for
enum<string> | null

Channel this one replaces when that one cannot reach the recipient.

Available options:
email,
in_app,
live_activity,
push,
sms,
whatsapp

Response

The updated channel

data
object
message
string
meta
object