Skip to Content
Xeonr Developer Docs
API SpecificationAccounts

List accounts

POST
/xmb.api.v1.AccountService/ListAccounts

Searches for user accounts by username. Requires first-party authentication (not available via OAuth).

Required scopes: xmb:private

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

usernameFilter?string

Username search filter (substring match).

Length1 <= length <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.AccountService/ListAccounts" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "accounts": [
    "map[avatarUrl:https://xeonr.io/_img/avatars/luke.png id:3 username:luke]"
  ]
}