ZBD User
Get Username By ZBD ID
Retrieve ZBD user ID from a username.
GET
/v0/gamertag/user-id/{id}
id*
curl --request GET \
--url https://api.zebedee.io/v0/gamertag/user-id/{id} \
--header 'apikey: <apikey>'
ZBD API is migrating the terminology from ZBD Gamertags to ZBD Usernames. There are no breaking changes to you as a developer.
In general, if you used to search for ‘Gamertag’ inside zbd.dev documentation, now search for ‘Username’. Please do also note some ZBD API endpoints are still using gamertag
in the URL.
Usage
This API endpoint is the reverse of the Get User ID for ZBD Username endpoint. Use this endpoint to get a given user’s ZBD Username.
If you’ve got a User ID and you wish to find out that user’s ZBD Username, perhaps to then send that user payments, you may use this endpoint.
Configuration
Path Parameters
idrequired
string
User ID
Header Parameters
apikeyrequired
string
ZBD Project API Key
{
"success": true,
"data": {
"gamertag": "foxp2"
},
"message": "Fetched gamertag from uuid"
}
Was this page helpful?
curl --request GET \
--url https://api.zebedee.io/v0/gamertag/user-id/{id} \
--header 'apikey: <apikey>'
{
"success": true,
"data": {
"gamertag": "foxp2"
},
"message": "Fetched gamertag from uuid"
}