Skip to main content
GET
/
achievements
/
user
/
:userId
Get User Achievements
curl --request GET \
  --url https://www.api.baselink.tech/achievements/user/:userId \
  --header 'bearer: <api-key>'
{
  "achievements": [
    {}
  ],
  "achievements[].id": "<string>",
  "achievements[].type": "<string>",
  "achievements[].title": "<string>",
  "achievements[].description": "<string>",
  "achievements[].expiresAt": "<string>",
  "achievements[].metadata": {}
}
Retrieve all achievements for a specific user.
achievements
array
Array of 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[].expiresAt
string
The expiration date of the achievement (if applicable).
achievements[].metadata
object
Additional metadata for the achievement.