Documentation · API reference
GET/api/v1/alert-settings

Quiet hours

Quiet hours, how often, and whether to say when something is over.

The answer

Status 200

object

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/alert-settings \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/alert-settings", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());