API Specificationxmb.api.v1.MembershipService
List invitations
Returns the invitations issued for a server that have not been answered, revoked or expired.
Required scopes: xmb:admin
Authorization
BearerAuth AuthorizationBearer <token>
An access token issued by the xeonr identity provider.
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
serverSlug?string
Slug of the server.
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.MembershipService/ListInvitations" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"invitations": [
"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]"
]
}Invite member POST
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`
List members POST
Returns the members of a server. Requires the caller to be an administrator of it. **Required scopes:** `xmb:admin`