Bot API · Bot token
getMe
Check a bot token and get the bot's identity
Returns the bot's identity for the token's env.
Request
curl https://api.sprintelex.com/getMe \ -H "Authorization: Bearer <bot-token>"
Response
{ ok: true, result: { id, username, name, env } }Rate limit: 30 calls per 1-second window per bot+env (check_bot_rate_limit); RPC failure fails open with a loud log
Errors
| Status | Error | When |
|---|---|---|
| 429 | rate limit exceeded: slow down | more than 30 calls in 1 second for this bot+env |