Knowledge Base: How to implement invite code for EOS Sessions or EOS Lobbies?

On the session host you can generate an invite code and set it as a custom attribute on the session. See Custom Attributes in the documentation. Other players can search for the session by attribute data. See Configuring a Search for Attribute Data. The same approach can be used with lobbies, see…

https://dev.epicgames.com/community/learning/knowledge-base/wrLbn/epic-online-services-how-to-implement-invite-code-for-eos-sessions-or-eos-lobbies