curl --request GET \ --url https://api.zebedee.io/v0/user-id/gamertag/{GAMERTAG} \ --header 'apikey: <apikey>'
Overview
Get UserID by Gamertag
Convert a ZBD Gamertag to a permanent User ID for reliable tracking
GET
/
v0
/
user-id
/
gamertag
/
{GAMERTAG}
Get UserID by Gamertag
Copy
Ask AI
curl --request GET \ --url https://api.zebedee.io/v0/user-id/gamertag/{GAMERTAG} \ --header 'apikey: <apikey>'
Get a user’s permanent ID from their ZBD Gamertag. Essential for tracking users reliably since gamertags can change but User IDs never do.
Critical for User Tracking - Gamertags are like Twitter handles - users can change them anytime. Always use the permanent User ID for databases, limits, and historical tracking.