Get the xuid from a gamertag
GET/v2/xbox/xuid/:gamertag
Get the xuid from a gamertag
Request
Path Parameters
gamertag stringrequired
The gamertag of the Bedrock player
Responses
- 200
- 400
- 503
The xuid associated with the gamertag or an empty object if there is account with the given gamertag
- application/json
- Schema
- Example (from schema)
Schema
xuidint64required
The xuid
Example:
2535432196048835
{
"xuid": 2535432196048835
}
The gamertag is invalid (empty or longer than 16 chars)
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
The error message
{
"message": "string"
}
The requested account was not cached and we were not able to call the Xbox Live API (rate limited / not setup)
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
The error message
{
"message": "string"
}