API Specificationxmb.api.v1.ServerService
Create server
Creates a server with the caller as its first administrator. The slug is derived from the name.
Required scopes: xmb:user:write
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
name?string
Display name. The slug is derived from it, and de-duplicated if taken.
Length
1 <= length <= 128team?string
A Xeonr Auth team to own the server, by slug or URN, from ListAdoptableTeams. Empty creates a new team named after the server.
The caller must OWN the named team. Its existing members become the server's members at the roles they already hold — which is the point: somebody who already runs a team for another product should not have to assemble it a second time here.
Length
length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.ServerService/CreateServer" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"server": "map[createdAt:2025-03-08T10:15:00Z id:12 memberCount:4 name:Thompson Home slug:thompson-home status:SERVER_STATUS_ACTIVE viewerRole:SERVER_ROLE_ADMIN]"
}