Respond to Goal Met
POST/api/success-plan/goal-met/:goal/respond
Answers the "you hit your goal" ask for a met goal, once per goal.
success_plan:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
sentence: your sentence becomes a quote in your own words, used in a draft only once you approve it.clip/write_up: an offer to record a short clip or help with a write-up; SKU.io follows up.not_now: dismissed; consent that was never set becomesask_later.never: consent becomesno.
Authentication: Requires Bearer token with the success_plan:write scope. The user must hold the success_plan.manage permission.
Body:
choice(string, required):sentence,clip,write_up,not_nowornever.text(string, max 500): required withsentence.
Response: goal_id, choice, story_entry (the quote or offer recorded, or null) and consent_status.
409 codes: consent_no (sharing is off), goal_not_met, already_responded.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Conflict
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.