Documentation

AwardSteamAchievement

Awards the specified users the specified Steam achievements

Request Details

AwardSteamAchievementRequest
Request Properties
Achievements (required) List<AwardSteamAchievementItem>

Array of achievements to grant and the users to whom they are to be granted.

POST https://{{TitleID}}.playfabapi.com/Server/AwardSteamAchievement
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "Achievements": [
    {
      "PlayFabId": "234974573892",
      "AchievementName": "FinishLevel1",
      "Result": false
    },
    {
      "PlayFabId": "334353433",
      "AchievementName": "FinishLevel1",
      "Result": false
    }
  ]
}
        

Response Details

AwardSteamAchievementResult
Result Properties
AchievementResults List<AwardSteamAchievementItem>

Array of achievements granted.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "AchievementResults": [
      {
        "PlayFabId": "234974573892",
        "AchievementName": "FinishLevel1",
        "Result": true
      },
      {
        "PlayFabId": "334353433",
        "AchievementName": "FinishLevel1",
        "Result": true
      }
    ]
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code