Sign in

Create alert (resource)

documented

Create an alert.

POST \/api\/resource\/alertsAlerts & Goalsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl 'https://www.rescuetime.com/api/resource/alerts' \
  -X POST \
  -H 'Authorization: Bearer {{RESCUETIME_API_KEY}}' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{"alert":{"name":"{{$title}}","alert_type":"{{$alert_type}}","threshold_minutes":{{$threshold_minutes}},"enabled":{{$enabled}}}}'
Create alert (resource) · RescueTime · OpenIntegrations