Retrieves the details of all title-specific statistics for the specific character

Request Details

Character statistics are similar to user statistics in that they are numeric values which may only be updated by a server operation, in order to minimize the opportunity for unauthorized changes. In addition to being available for use by the title, the statistics are used for all leaderboard operations in PlayFab.

Request Properties
CharacterId (required) String

Unique PlayFab assigned ID for a specific character owned by a user

PlayFabId (required) String

Unique PlayFab assigned ID of the user on whom the operation will be performed.

POST https://{{TitleID}}
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
  "PlayFabId": "10931252888739651331",
  "CharacterId": "98765432"

Response Details

Result Properties
CharacterId String

Unique identifier of the character for the statistics.

CharacterStatistics Dict<String, int32>

Character statistics for the requested user.

PlayFabId String

PlayFab unique identifier of the user whose character statistics are being returned.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
  "code": 200,
  "status": "OK",
  "data": {
    "PlayFabId": "10931252888739651331",
    "CharacterId": "98765432",
    "CharacterStatistics": {
      "Headshots": 18,
      "Kills": 47



Possible Error Codes

Name Code
AccountNotFound 1001
CharacterNotFound 1135