Skip to main content
PUT

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from the Cronhost dashboard.

Path Parameters

id
string
required

Unique schedule identifier

Example:

"schedule_123"

Body

application/json
notifyOn
enum<string>
required

Which outcomes trigger a notification. Some values are gated by plan.

Available options:
none,
success,
failure,
both
Example:

"failure"

channelIds
string[]

Verified channel ids to attach. Required (non-empty) when notifyOn is not "none". success/both require at least one webhook channel (Slack, Discord, or Telegram).

Example:

Response

Notification preference updated

data
object
required
success
boolean
required
Example:

true