Console
Achievements

Update Achievement

Update one or more fields of an existing achievement. Only the fields you send are changed — omitted fields keep their current values.

POST /api/achievements/update.php
Requires Authorization: AppID:AppKey header

Request body

FieldTypeRequiredDescription
slugstringrequiredIdentifies the achievement to update
namestringoptionalNew display name
descriptionstringoptionalNew description
iconstringoptionalNew icon URL
raritystringoptionalcommon, uncommon, rare, epic, legendary
xpintoptionalNew XP value
secretbooloptionalToggle secret status

Success response 200

{
  "success": true,
  "achievement": {
    "id": 1,
    "app_id": "com.myapp.game",
    "slug": "first_kill",
    "name": "First Kill",
    "rarity": "uncommon",
    "xp": 200,
    "secret": false
  }
}

Errors

CodeMessageCause
400slug is required.Missing identifier
404Achievement not found.Slug doesn't exist for this app