π Q: Why do I need to create my own ID for Custom Event Games?
Unlike other game types (such as Top X, Match Quiz, or Classic Quiz) where the system automatically generates the ID for you - a random long combination of letters and digits like 19MLiRzK61fGAuWR9LOaM7 - Custom Event Games give you the freedom to create your own ID. This allows you to use identifiers that are more meaningful and easier to navigate for internal use by your team.
π Q: What should I use as an ID?
You have complete freedom to create any ID you want - if you prefer, you can even create random IDs similar to what the system generates for other games.
However, especially when it comes to sports-related Custom Event Games, we have a few tips that will make your work much easier:
Include easily identifiable information in your ID:
- Team/competitor names:
liverpool-real-madridorwarriors-lakers - Date or time period:
dec2024,2024-12-15, orq4-2024 - Event type:
finals,semifinals,championship - Game number or round:
game1,round3,week5
Why make it descriptive? Since the ID is purely internal and never visible to end users on the UI, the more clear and descriptive you make it, the easier it will be for:
- Your developers to fetch, update, or delete games via the API
- Your team to identify and manage games in the backend
- Anyone troubleshooting or working with game data
π Q: Are there any ID rules I should know about?
Yes, there are two important rules:
- The ID must be unique - You cannot use the same ID for more than one game. If you accidentally try to create a game with an ID that already exists, the API will return an error.
- The ID cannot be changed after creation - Choose carefully from the start, as you won't be able to modify it later.
π Q: Will end users see the ID I choose?
No. Users only see the Title field, not the ID. The ID is purely for your technical and administrative reference. So while your ID might be liverpool-real-madrid-1215, your users will only see the Title you set, such as "Liverpool vs Real Madrid Champions League Clash".
π‘ Pro Tip: Consider creating an ID naming convention for your organization (e.g., always including date, sport type, or team names) to maintain consistency across all your Custom Event Games.
Further Reading