> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send an invite for another player to join a multiplayer game

> Send Multiplayer Activity invites so another XBOX player can join a game, including client and server flows, crossplay flags, and connection strings.

This topic describes how to send a request for another player to join a multiplayer experience. A title can use Multiplayer Activity (MPA) for this invite.

Invites can be sent directly by the title or by an external server. Titles send an invite by using the information in the following table.

| Field                    | Purpose                                                                                                              | Notes                                                                         |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `xuids`                  | The `XboxUserIds` of one or more players to invite.                                                                  |                                                                               |
| `allowCrossPlatformJoin` | Indicates whether players on other platforms receive the invite.                                                     | For more information, see the following Supporting crossplay invites section. |
| `connectionString`       | A title-defined string that's opaque to MPA. Contains information that a title can use to connect to another player. | Must be less than 256 characters.                                             |

## Supporting crossplay invites

When creating an activity or sending an invite in the Microsoft Game Development Kit (GDK), titles can specify an
`allowCrossPlatformJoin` flag. If `false`, the Microsoft Game Development Kit (GDK) automatically fills the platform field with the
current platform. The invite is only received by players on that platform. If `true`, the
Microsoft Game Development Kit (GDK) leaves the platform field `null`, indicating that the invite is cross platform.

## Sending invites from a server

External servers can also send an invite on behalf of a player. Its contents are
identical to the previous client fields, with the addition of one field as shown in the following table.

| Server-only field | Purpose                                                       | Notes                   |
| ----------------- | ------------------------------------------------------------- | ----------------------- |
| `sender`          | Indicates the player who the server is sending an invite for. | Must be a valid player. |


## Related topics

- [Sending invites to another player (flowchart)](/services/xbox-services/multiplayer/mpm/concepts/flowcharts/live-mpm-send-invites.md)
- [Sending game invites using Multiplayer Manager](/services/xbox-services/multiplayer/mpm/how-to/live-send-game-invites.md)
- [Multiplayer Manager example code](/services/xbox-services/multiplayer/mpm/how-to/live-mm-howto-nav.md)
- [Example code for Multiplayer Activity](/services/xbox-services/multiplayer/mpa/how-to/live-mpa-client-how-to.md)
- [Concepts](/services/xbox-services/multiplayer/mpa/concepts/index.md)
