Xsolla-logo

Get user’s achievements

get/users/me/achievements

Gets a list of the user’s achievements with a localized title and description of the specified locale.

SecurityBearer
Request
query Parameters
game_id
required
integer

Game ID which the achievements belong to.

locale
string^[a-z]{2}-[A-Z]{2}$

Locale of the achievement which localized content belongs to in the <language code>_<country code> format where:

status
string

Filters achievements by their granting.

Enum: "unlock" "lock"
Responses
200

OK

403

Authentication token is invalid

422

parameters sent to the server are incorrect

429

(Too Many Requests) Too many requests are sent during the rate limit period

Request samples
Response samples
application/json
{
  • "achievements": [
    ],
  • "total_achievements": 0,
  • "total_user_achievements": 0
}