Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.ServerService

List servers

POST
/xmb.api.v1.ServerService/ListServers

Lists the servers the authenticated caller is a member of, each carrying the caller's role on it.

Required scopes: xmb:user:read

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

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.ServerService/ListServers" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "servers": [
    "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]"
  ]
}