---
agentTools:
  projectIndex: https://docs.xternity.io/llms.txt
---

# Get player info

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://dev-console-api.xternity.games/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/player/{playerId}": {
      "get": {
        "summary": "Get player info",
        "description": "",
        "operationId": "get-player-info",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Bearer token",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "playerId",
            "in": "path",
            "description": "identifier of a player in the game players list",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"OK\",\n    \"data\": {\n        \"id\": \"6388be6644fa85000977ba12\",\n        \"name\": \"Shahar\",\n        \"email\": \"shahar@xternity.games\",\n        \"gameId\": \"63886d854878d95cfed205e0\",\n        \"status\": \"active\",\n        \"wallets\": {\n            \"evm\": {\n                \"address\": \"0x1908A2CAE7CaEe2ae6cDA8E707b959eeDB183B6A\"\n            }\n        },\n        \"isEmailVerified\": false,\n        \"externalPlayerId\": \"1234567890\",\n        \"createdAt\": \"2022-12-01T14:47:02.444Z\"\n    },\n    \"meta\": {},\n    \"error\": \"\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "OK"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "6388be6644fa85000977ba12"
                        },
                        "name": {
                          "type": "string",
                          "example": "Shahar"
                        },
                        "email": {
                          "type": "string",
                          "example": "shahar@xternity.games"
                        },
                        "gameId": {
                          "type": "string",
                          "example": "63886d854878d95cfed205e0"
                        },
                        "status": {
                          "type": "string",
                          "example": "active"
                        },
                        "wallets": {
                          "type": "object",
                          "properties": {
                            "evm": {
                              "type": "object",
                              "properties": {
                                "address": {
                                  "type": "string",
                                  "example": "0x1908A2CAE7CaEe2ae6cDA8E707b959eeDB183B6A"
                                }
                              }
                            }
                          }
                        },
                        "isEmailVerified": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "externalPlayerId": {
                          "type": "string",
                          "example": "1234567890"
                        },
                        "createdAt": {
                          "type": "string",
                          "example": "2022-12-01T14:47:02.444Z"
                        }
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {}
                    },
                    "error": {
                      "type": "string",
                      "example": ""
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{  \n  \"status\": \"ERROR\",\n  \"data\": {},\n  \"meta\": {},\n  \"error\": [\n    \"Please authenticate\"\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "ERROR"
                    },
                    "data": {
                      "type": "object",
                      "properties": {}
                    },
                    "meta": {
                      "type": "object",
                      "properties": {}
                    },
                    "error": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "Please authenticate"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63876cf5b0dd4800396288ee:63879402bc0e6803ec7e0413"
}
```