20% offevery plan

Black Friday Sale. New purchases, extensions and upgrades all qualify.

Ends in
00days
00hrs
00min
00sec
See plans
API

API reference: accounts and connections

Read your plan and accounts with live status, connect or disconnect one account or a list, Connect All, Stop All, Pause, and answer a CAPTCHA from code.

Check your key and plan

GET /me confirms the key works and returns your plan, your limits, the key that made the call and the areas your plan includes. It is the cheapest call for a health check.

{
  "discordId": "100000000000000001",
  "plan": { "tier": 3, "maxAccounts": 20, "expiresAt": 1792540800000 },
  "rateLimit": { "limit": 120, "windowSeconds": 60, "maxConcurrent": 8 },
  "ipWhitelist": { "enabled": true, "count": 1 },
  "key": { "name": "Sell script", "hint": "N5VC", "createdAt": 1790000000000 },
  "access": {
    "accounts": true, "chat": true, "macros": true, "settings": true,
    "inventory": true, "look": true, "statCheck": true, "movement": true
  }
}
FieldMeaning
plan.tierYour plan: 1, 2 or 3.
rateLimitRequests per minute and requests in flight for your plan, shared by all your keys.
keyThe name of the key that made this call, its last four characters, and when it was created.
accesstrue for every area your plan includes. inventory, look (setting the head angle) and statCheck (Stat Checker) need Tier 2. movement (walking, tasks, reading the head angle) needs Tier 3.

List accounts

GET /accounts returns every account on your dashboard with its live status.

{
  "accounts": [
    {
      "id": "[email protected]",
      "username": "ConsoleClient",
      "serverUsername": "",
      "type": "microsoft",
      "status": "connected",
      "lastError": "",
      "connectedAt": 1790000000000,
      "lastSeenAt": 1790000450000,
      "reconnectPending": false,
      "reconnectAt": 0,
      "proxyLatencyMs": 48,
      "position": { "x": 120.5, "y": 64, "z": -33.5 },
      "xpLevel": 30,
      "server": { "host": "", "port": 0, "version": "" },
      "joinCommand": "",
      "captchaPending": false
    }
  ]
}
FieldMeaning
idThe account ID used in every other endpoint. It never changes.
usernameThe player name. serverUsername is filled only when the server reports a different name.
typemicrosoft, cookie, ssid (SSID and refresh token accounts), offline or bedrock.
statusSee the status table below.
lastErrorThe latest kick or error text, or empty.
connectedAt, lastSeenAtWhen the current session started, and when the account was last seen online.
reconnectPending, reconnectAtWhether an automatic reconnect is scheduled, and when.
proxyLatencyMsLatency through the account’s proxy, or null when unknown.
positionLast reported coordinates, or null.
xpLevelThe experience level.
serverThe account’s own server address, port and version. Empty values mean the account uses your default server from settings.
joinCommandThe join command set in the account’s own details, if any.
captchaPendingtrue when the server shows this account a CAPTCHA that needs an answer. Answer it in the dashboard, or with /accounts/{id}/captcha below.
StatusMeaning
connectedOnline on the server.
connectingJoining the server.
authingSigning in with Microsoft.
waiting-proxyWaiting for its proxy to respond.
disconnectedOffline.
kickedThe server kicked it. lastError has the reason.
errorThe connection failed. lastError has the reason.
auth-failedThe sign-in failed or needs you. Open the dashboard to sign in again.
invalid-accountThe account’s cookie or token no longer works.
session-conflict, running-on-another-nodeThe account is already online somewhere else.

Proxy details and credentials are never returned by the API. To hear about changes instead of polling, see notifications and live updates.

Get one account

GET /accounts/{id} returns one account in the same shape, under account. An unknown ID answers 404 not_found.

curl https://dashboard.consoleclient.com/api/v1/accounts/[email protected] \
  -H "Authorization: Bearer $CC_API_KEY"

This is the call to poll after a connect. Every two to five seconds is plenty.

Connect an account

POST /accounts/{id}/connect starts the account, like the Connect button. No body.

curl -X POST https://dashboard.consoleclient.com/api/v1/accounts/[email protected]/connect \
  -H "Authorization: Bearer $CC_API_KEY"
{ "ok": true }
ErrorHTTPMeaning
not_found404No account with that ID.
slot_limit403As many accounts are online as your plan allows. The response includes maxAccounts.
proxy_required400The account has no proxy. Assign one in the dashboard.
proxy_expired, proxy_limit_reached400The account’s proxy from the Proxy Shop expired or used up its bandwidth.
proxy_not_allowed400The account’s own proxy cannot be used on Console Client. Pick another one.
shared_pool_empty, shared_proxy_blocked400, 403The Shared Proxy Pool is empty, or it is not allowed on this server. The second one names the server in server.
auth_required409The account needs a Microsoft sign-in first. Do it in the dashboard.
cooldown429The account was connected moments ago. cooldownRemaining is the wait in milliseconds, reason is in_progress, recent_attempt or cooldown.
no_backend503No Node can take the account right now. Try again shortly.

Disconnect an account

POST /accounts/{id}/disconnect takes the account offline, like the Disconnect button. It stays offline, with no automatic reconnect, until you connect it again.

POST /accounts/{id}/cancel-reconnect turns off the account’s automatic reconnect. An offline account stays offline. An online account stays online, but does not reconnect by itself after it next drops. An account that is still connecting stops.

Both answer { "ok": true } and need no body, also for an ID that does not exist. POST /accounts/connect-all turns automatic reconnect back on for accounts that are online.

Connect, stop and pause many accounts

EndpointWhat it does
POST /accounts/connect-allStarts Connect All: every offline account connects one after another at the pace the dashboard uses. Answers { "ok": true, "started": true }, or "started": false when a run is already going.
POST /accounts/connectConnect All for the accounts in accountIds only, 1 to 200 IDs. IDs that are not yours are skipped. Same rules and answer as connect-all: it counts as a Connect All run, so only one of the two runs at a time.
POST /accounts/connect-all/stopStops a Connect All run that is still starting accounts. Accounts already online stay online. Reconnects that are already scheduled still happen: POST /accounts/pause-all cancels them.
POST /accounts/pause-allPause, like the Pause button on Overview: stops a Connect All run and every scheduled reconnect. Online accounts stay online but do not reconnect by themselves after a drop, and accounts still connecting stop. connect-all turns automatic reconnect back on. Answers { "ok": true }.
POST /accounts/disconnect-allStop All: disconnects every account and keeps them offline until you connect them again.
POST /accounts/disconnectDisconnects the accounts in accountIds, 1 to 200 IDs, like the Disconnect button of each, and keeps them offline. IDs that are not yours, and accounts that were never started, are skipped. A Connect All run keeps going. Answers { "ok": true }.
curl -X POST https://dashboard.consoleclient.com/api/v1/accounts/connect \
  -H "Authorization: Bearer $CC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"accountIds": ["[email protected]", "[email protected]"]}'

A list of more than 200 IDs answers 400 too_many_accounts. An empty list, or one that holds anything but account IDs, answers 400 invalid_request. An ID that appears twice counts once.

Answer a CAPTCHA

Some servers show a code on a map, or a question with buttons, when an account joins. While captchaPending is true, read it and send the answer, like the CAPTCHA window in the dashboard.

GET /accounts/{id}/captcha returns the open CAPTCHA, or { "captcha": null }.

{
  "captcha": {
    "kind": "map",
    "message": "Type the code you see on the map",
    "server": "donutsmp.net",
    "expiresAt": 1790000700000,
    "width": 128,
    "height": 128,
    "image": "data:image/png;base64,iVBORw0KGgo..."
  }
}
FieldMeaning
kindmap for a picture code, choice for a question with buttons.
imageFor a map: the picture as a PNG data URL, width by height pixels, in the colors the dashboard shows.
title, text, choicesFor a choice: the question and the button texts. links lists pages the server points to, each with a label and a url.
message, serverThe server’s own message, and the server that asks.
expiresAtWhen the CAPTCHA closes. Answer before then.

POST /accounts/{id}/captcha sends the answer in code and answers { "ok": true }. For a map, code is what the picture shows, 1 to 32 letters or digits. For a choice, it is the position of the right button, counting from 0.

curl -X POST https://dashboard.consoleclient.com/api/v1/accounts/[email protected]/captcha \
  -H "Authorization: Bearer $CC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "7KQ2"}'
ErrorHTTPMeaning
invalid_code400The answer is empty, too long, or not one of the choices.
no_captcha404The account has no open CAPTCHA, or it expired.
not_assigned404The account has not been started.
command_timeout504The account did not answer in time. Read the CAPTCHA again before you retry.

Any other refusal from the account answers 409 with its code, or with answer_failed.

Need a hand?

Check the troubleshooting guide or return to all guides.