Docs
Sign in

Change what a channel sends, replace its token, or switch it on or off.

A new token is checked with Notify as on create.

PATCH/api/v1/notifications/channels/{id}

Scopesconfigapprove

Replacing the token or switching the channel on retries its pending sends at once. The timeline records the key ID, action and outcome.

Path parameters.

idstringrequired

The notification channel's id.

Headers.

Idempotency-Keystring

Retry the same request with the same key. Retry rules.

Body.

namestring

A new name. 1 to 80 characters.

tokenstring

A new Notify agent token, checked with Notify before it replaces the old one. Pending sends are retried at once. 8 to 2000 characters.

sendarray

What to send from now on: approvals, questions, crew_finished, crew_failed, budget, digest. Any of approvals, questions, crew_finished, crew_failed, budget, digest. 1 to 6 items.

digestMinutes15–10080

The digest is sent at most once in this many minutes.

maxPerHour1–120

At most this many messages and prompts an hour, the digest not counted.

enabledboolean

False switches the channel off; true switches it on again, from now.

Response.

200 OK · JSON object

422 validation_failed
Each schema error appears in details.