Apply To Group
Applies to join a group
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| EntityBlockedByGroup | 1357 |
| EntityIsAlreadyMember | 1359 |
| OutstandingInvitationAcceptedInstead | 1363 |
| RoleDoesNotExist | 1358 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
Creates an application to join a group. Calling this while a group application already exists will return the same application instead of an error and will not refresh the time before the application expires. By default, if the entity has an invitation to join the group outstanding, this will accept the invitation to join the group instead and return an error indicating such, rather than creating a duplicate application to join that will need to be cleaned up later. Returns information about the application or an error indicating an invitation was accepted instead.
Creates an application to join a group. Calling this while a group application already exists will return the same application instead of an error and will not refresh the time before the application expires. By default, if the entity has an invitation to join the group outstanding, this will accept the invitation to join the group instead and return an error indicating such, rather than creating a duplicate application to join that will need to be cleaned up later. Returns information about the application or an error indicating an invitation was accepted instead.
The identifier of the group
Optional, default true. Automatically accept an outstanding invitation if one exists instead of creating an application
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
The optional entity to perform this action on. Defaults to the currently logged in entity.
