Achievements
All visible achievements with the current user's progress + unlock state.
/client/achievements hides is_hidden = true achievements the user hasn't unlocked; hidden unlocked achievements are still returned so the UI can reveal them.
Source: apps/api/src/routes/client/achievements.ts.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /client/achievements | All visible achievements with per-user progress. |
| GET | /client/achievements/:achievementId | One achievement with progress. |
GET /client/achievements
Response 200
Errors
500 FETCH_FAILED.
Try it:
GET
client auth/client/achievementscurl -X GET 'https://api.amba.dev/client/achievements'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl:
GET /client/achievements/:achievementId
Response 200
Same single-achievement shape as above.
Errors
404 FETCH_FAILED— achievement not found (returns 404 withcode: FETCH_FAILED).500 FETCH_FAILED.
Try it:
GET
client auth/client/achievements/%7B%7BachievementId%7D%7Dcurl -X GET 'https://api.amba.dev/client/achievements/%7B%7BachievementId%7D%7D'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl: