-
Notifications
You must be signed in to change notification settings - Fork 0
Trophies Module
Lucas E. da Silva edited this page Apr 13, 2026
·
2 revisions
The Trophies service manages achievements for your game. You can use these functions to award, remove, or check the status of specific trophies for the authenticated user.
Returns information about trophies.
-
trophy_id: (Optional) If set to
0, returns all trophies for the game. If a specific ID is provided, it returns information only for that trophy.
Unlocks a trophy for the authenticated user.
- trophy_id: The unique ID of the trophy you want to award.
Removes an already achieved trophy from the user's account.
- trophy_id: The unique ID of the trophy to remove.
Returns a list of trophies based on whether the user has achieved them or not.
-
achieved: Set to
trueto get only trophies the user has earned, orfalseto get trophies they haven't earned yet.
await GameJoltAPI.trophy_add(123456)