Achievements

Endpoints for retrieving and managing achievement pins.

GET/api/v1/users/me/achievements

Get the achievement list for the authenticated user.

Authentication

Bearer token

Response

{
  "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/pin

Set achievements to pin on your profile (up to 3). Specify achievement IDs as an array in the order field.

Authentication

Bearer token

Request Body

{
  "order": ["first_answer", "answer_10", "received_10"]
}

Response

{ "success": true }
GET/api/v1/users/:handle/achievements

Get the pinned achievements for a user (up to 3).

Authentication

No authentication required (public endpoint)

Path Parameters

ParameterDescription
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"
    }
  ]
}