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

Get a grabber token

POST
/xmb.api.v1.GrabberService/GetGrabberToken

Returns the grabber's token in plaintext, for configuring the binary.

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
Length1 <= length
uuid?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.GrabberService/GetGrabberToken" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "grabberToken": "xmbg_9b2f4c1e7a3d4e8f8c6b2a1d5e7f3c90_<base64url-secret>"
}