Skip to main content
GET
/
achievements
/
user
/
:userId
/
active
Get Active Achievements
curl --request GET \
  --url https://www.api.baselink.tech/achievements/user/:userId/active \
  --header 'bearer: <api-key>'
{
  "achievements": [
    {}
  ],
  "achievements[].id": "<string>",
  "achievements[].type": "<string>",
  "achievements[].title": "<string>",
  "achievements[].description": "<string>",
  "achievements[].metadata": {}
}
Retrieve only active (non-expired) achievements for a specific user.
achievements
array
Array of active achievement objects for the user.
achievements[].id
string
The unique identifier of the achievement.
achievements[].type
string
The type/category of the achievement.
achievements[].title
string
The title of the achievement.
achievements[].description
string
The description of the achievement.
achievements[].metadata
object
Additional metadata for the achievement.