Download Success Plan Attachment
GET/api/success-plan/attachments/:attachment
Downloads an attachment. Use the signed url returned with the attachment (on upload, and in every reading's attachments): it already carries expires and signature, and is valid for 30 minutes. Fetch a fresh one by reading the goal or its readings again. The request must also be authenticated.
success_plan:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token with the success_plan:read scope. The user must hold the success_plan.view permission.
The response is the file itself, with its own Content-Type and its original file name. An expired or altered link answers 403; a file that is no longer stored answers 404.
Request
Responses
- 200
- 401
- 403
- 404
- 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
Response Headers
Not Found
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.