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.
| Query | Detail |
|---|---|
since | The cursor from your previous response. Leave it out on the first call. |
wait | Optional long poll in milliseconds, up to 25000. With nothing new the request stays open until a notification arrives or the time runs out. |
limit | Optional. 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.
| event | When |
|---|---|
join, reconnect | The account joined the server, or came back after a drop. |
disconnect, kicked, error | The account left, was kicked or lost its connection. text has the reason. |
death | The account died. |
authcode, invalidaccount | The account needs a Microsoft sign-in in the dashboard, or its sign-in no longer works. |
sessionconflict, ratelimited | The account is online somewhere else or the server is full, or Microsoft limits sign-ins for a while. |
chatmention | Someone wrote the account’s name in chat. |
raidalert | Raid Alerts saw a player near the account. |
sentrycomplete, sentryinvfull | Spawner Sentry finished mining, or stopped with a full inventory. |
sentrypickaxe, sentrypickbuy, sentrypickbought, sentrypickprice, sentrypickfail | Spawner Sentry has no pickaxe, and buys one on the auction house, or cannot. |
sellwand | Auto Sell has no sell wand. |
sellaxepoor, sellaxefail | Auto Buy Sell Axe could not afford a new sell axe, or could not buy one. |
macro-done, macro-failed | A macro finished, or stopped with an error. |
replayclip | Replay saved a clip. |
menuopen, autoconfirm | The 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.
Get the list and its rev
Call
GET /accounts?rev=0. The answer is the usual account list plusrev, a short code for this version of the list.Wait for a change
Call
GET /accounts?rev=REV&wait=25000with therevyou have. It answers as soon as an account’s live data changes (status, error, position and the like), with the new list and a newrev. Edits such as a new label show by the next call.Nothing changed
When
waitruns out you get{ "unchanged": true, "rev": "..." }withoutaccounts. 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 poll | Tells you about |
|---|---|
GET /notifications?since=CURSOR&wait=25000 | Kicks, deaths, reconnects, macro results and alerts. |
GET /chat?since=CURSOR&wait=25000&limit=1000 | Every chat line. |
GET /accounts?rev=REV&wait=25000 | Any 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.
Check the troubleshooting guide or return to all guides.