Mint an anonymous token
POST
/bot/anon
const url = 'https://play-api.jc.id.lv/bot/anon';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://play-api.jc.id.lv/bot/anonMints an ephemeral, unranked token with zero registration. Anonymous tokens live in server memory (~24h TTL) and never appear on the ladder. One of the two routes that need no Authorization header (the other is POST /bot/register).
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”name
string
Optional display name for the anonymous bot.
Responses
Section titled “Responses”Token minted.
Media typeapplication/json
object
token
required
string
team
required
string
name
required
string
id
required
External id, e.g. bot:team:anon:mybot-8b7a6c5d.
string
Examplegenerated
{ "token": "example", "team": "example", "name": "example", "id": "example"}Rate limited — check the Retry-After header.