20% offevery plan

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

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

API reference: notifications and live updates

Hear about kicks, deaths, reconnects and macro results as they happen, and wait for account changes with one long poll.

Read notifications

GET /notifications returns what the dashboard’s bell shows about your accounts, oldest first.

QueryDetail
sinceThe cursor from your previous response. Leave it out on the first call.
waitOptional long poll in milliseconds, up to 25000. With nothing new the request stays open until a notification arrives or the time runs out.
limitOptional. The most notifications to return, newest kept. The feed keeps the last 200, which is also the default.
{
  "notifications": [
    {
      "id": 41,
      "accountId": "[email protected]",
      "username": "ConsoleClient",
      "event": "kicked",
      "level": "error",
      "text": "ConsoleClient kicked: You are banned from this server.",
      "timestamp": 1790000451234
    }
  ],
  "cursor": 41
}

Follow it with the same cursor loop as the chat feed: keep the newest cursor and send it back as since. An answer can come with no notifications and a new cursor: keep the cursor and call again. Notices that are not about one account, such as billing, Wheel Spinner and Proxy Shop notices, stay in the dashboard.

What you hear about

You get what is switched on in Settings → Notifications, like the bell. Reconnects, chat mentions and connection errors start switched off. event tells your code what happened.

eventWhen
join, reconnectThe account joined the server, or came back after a drop.
disconnect, kicked, errorThe account left, was kicked or lost its connection. text has the reason.
deathThe account died.
authcode, invalidaccountThe account needs a Microsoft sign-in in the dashboard, or its sign-in no longer works.
sessionconflict, ratelimitedThe account is online somewhere else or the server is full, or Microsoft limits sign-ins for a while.
chatmentionSomeone wrote the account’s name in chat.
raidalertRaid Alerts saw a player near the account.
sentrycomplete, sentryinvfullSpawner Sentry finished mining, or stopped with a full inventory.
sentrypickaxe, sentrypickbuy, sentrypickbought, sentrypickprice, sentrypickfailSpawner Sentry has no pickaxe, and buys one on the auction house, or cannot.
sellwandAuto Sell has no sell wand.
sellaxepoor, sellaxefailAuto Buy Sell Axe could not afford a new sell axe, or could not buy one.
macro-done, macro-failedA macro finished, or stopped with an error.
replayclipReplay saved a clip.
menuopen, autoconfirmThe account opened a menu (with GUI Notifications on), or Auto Confirm GUIs confirmed a menu or dialog.

level is error for the ones the bell marks in red, otherwise info. text is the bell’s sentence, written for people. Match on event, not on the text.

Wait for account changes

Send rev to GET /accounts and the call waits for a change instead of answering at once.

  1. Get the list and its rev

    Call GET /accounts?rev=0. The answer is the usual account list plus rev, a short code for this version of the list.

  2. Wait for a change

    Call GET /accounts?rev=REV&wait=25000 with the rev you have. It answers as soon as an account’s live data changes (status, error, position and the like), with the new list and a new rev. Edits such as a new label show by the next call.

  3. Nothing changed

    When wait runs out you get { "unchanged": true, "rev": "..." } without accounts. Keep your list and call again.

One of these long polls waits at a time for your Console Client account. A second one answers at once, so run a single loop. wait goes up to 25000 milliseconds.

Follow everything at once

Long pollTells you about
GET /notifications?since=CURSOR&wait=25000Kicks, deaths, reconnects, macro results and alerts.
GET /chat?since=CURSOR&wait=25000&limit=1000Every chat line.
GET /accounts?rev=REV&wait=25000Any change in the account list.

Every open long poll counts as a request in flight. Tier 1 allows two at once, so two long polls leave no room for other calls: pick the ones you need, or use a shorter wait.

Need a hand?

Check the troubleshooting guide or return to all guides.