Sign in

Create goal

documented

Create a new goal.

POST \/api\/resource\/goalsAlerts & 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/goals" \
  -X POST \
  -H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"goal": {"name": "{{$title}}", "target_minutes": {{$target_minutes}}, "frequency": "{{$frequency}}", "enabled": {{$enabled}}}}'
Create goal · RescueTime · OpenIntegrations