Sign in

Create a goal for a user

documented

Create a new Beeminder goal for user {u} with the provided parameters.

POST /users/{u}/goals.jsonUsersno 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.beeminder.com/api/v1/users/{{$user}}/goals.json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"slug": "{{$slug}}", "title": "{{$title}}", "goal_type": "{{$goal_type}}", "gunits": "{{$gunits}}", "goaldate": {{$goaldate}}, "goalval": {{$goalval}}, "rate": {{$rate}}, "initval": {{$initval}}, "secret": {{$secret}}, "datapublic": {{$datapublic}}, "datasource": "{{$datasource}}", "dryrun": {{$dryrun}}, "tags": {{$tags}}}'"
Create a goal for a user · beeminder · OpenIntegrations