# Match Code From Match ID

**URL:** <https://forum.heroiclabs.com/t/match-code-from-match-id/5723>\
**Category:** Game Design\
**Tags:** sdk-godot\
**Created:** [October 21, 2024, 5:47am UTC](https://forum.heroiclabs.com/t/match-code-from-match-id/5723 "2024-10-21T05:47:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ItsHotdogFred](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/itshotdogfred/32/2363_2.png) [@ItsHotdogFred](https://forum.heroiclabs.com/u/ItsHotdogFred)\
**Post date:** [October 21, 2024, 5:47am UTC](https://forum.heroiclabs.com/t/match-code-from-match-id/5723/1 "2024-10-21T05:47:34Z")

</div>

So I was following the documentation and I was able to list the current matches happening but I could only get the match id and not the actual code to join the match.

Is there a way to allow the player to join the match using the match id or a way to get the Match code from the match ID?

---

<div class="post-metadata">

**Author:** ![DannyIsYog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/dannyisyog/32/2224_2.png) [@DannyIsYog](https://forum.heroiclabs.com/u/DannyIsYog)\
**Post date:** [October 22, 2024, 9:34am UTC](https://forum.heroiclabs.com/t/match-code-from-match-id/5723/2 "2024-10-22T09:34:04Z")

</div>

Hi @ItsHotdogFred 👋

You can follow an example that does that here: [Godot 4 - Heroic Labs Documentation](https://heroiclabs.com/docs/nakama/client-libraries/godot/#joining-matches)

Let me know if that works.
