Invite member
Issues an invitation to an email address and sends it. Redeemable by signing in with a matching address, by the link's token, or from the server picker.
Required scopes: xmb:admin
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Slug of the server.
1 <= length <= 128Address to invite. Matched case-insensitively against whatever the IDP reports for the account that eventually signs in.
emaillength <= 255Role to grant on acceptance.
"SERVER_ROLE_UNSPECIFIED" | "SERVER_ROLE_MEMBER" | "SERVER_ROLE_ADMIN"Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.MembershipService/InviteMember" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"invitation": "map[createdAt:2026-10-20T12:00:00Z email:[email protected] expiresAt:2026-10-27T12:00:00Z id:b8a7c6d5-e4f3-4a2b-9c8d-7e6f5a4b3c2d invitedBy:luke role:SERVER_ROLE_MEMBER]"
}Get invitation POST
Describes the invitation a token refers to, so it can be confirmed before it is accepted. Requires a session; the token alone reveals nothing. **Required scopes:** `xmb:user:read`
List invitations POST
Returns the invitations issued for a server that have not been answered, revoked or expired. **Required scopes:** `xmb:admin`