Achievements
Endpoints for retrieving and managing achievement pins.
GET
/api/v1/users/me/achievementsGet the achievement list for the authenticated user.
Authentication
Bearer tokenResponse
{
"achievements": [
{
"id": "first_answer",
"category": "MILESTONE",
"tier": "NONE",
"secret": false,
"unlocked": true,
"unlockedAt": "2025-02-10T14:30:00.000Z",
"pinnedOrder": 1
}
],
"totalUnlocked": 2,
"totalCount": 44
}PATCH
/api/v1/users/me/achievements/pinSet achievements to pin on your profile (up to 3). Specify achievement IDs as an array in the order field.
Authentication
Bearer tokenRequest Body
{
"order": ["first_answer", "answer_10", "received_10"]
}Response
{ "success": true }GET
/api/v1/users/:handle/achievementsGet the pinned achievements for a user (up to 3).
Authentication
No authentication required (public endpoint)
Path Parameters
| Parameter | Description |
|---|---|
| handle | User handle in the format @user@instance.example |
Response
{
"achievements": [
{
"id": "first_answer",
"category": "MILESTONE",
"tier": "NONE",
"pinnedOrder": 1,
"unlockedAt": "2025-02-10T14:30:00.000Z"
}
]
}