Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview

Notifications, newest first.

Lists the account’s notifications, newest first.

GET/v1/me/inbox
Authorization
sessionAPI key · cookierequired

An opaque, revocable INVICTUS session set by createSession.

Query parameters
unreadstring

Only unread notifications, when true.

Allowed:true
cursorstring

The nextCursor of the previous page.

min length 1 · max length 64
limitinteger

How many notifications per page.

min 1 · max 50 · default: 20
Header parameters
X-Telegram-Userstring

With the service credential: the linked Telegram user the call acts for.

matches ^[0-9]{1,20}$
Responses
200

Success.

itemsobject[]required

Notifications, newest first.

max items 50
Show properties
Array of object
idstringrequired

An opaque id made by the API.

matches ^[A-Za-z0-9_-]{8,64}$
kindstringrequired

What the notification is: an alert kind, a file ready, or information.

Allowed:out-of-rangeback-in-rangenear-edgefees-readyvalue-movedclosed-elsewhereprice-levelprice-movepool-metricnew-pooltoken-changetransactionfunds-movednew-loginkey-exportsource-stalefileinfo
titlestringrequired

The notification text.

max length 120
subjectobject | nullrequired
Show properties
Any of:
object
typestringrequired

What kind of thing the subject is.

Allowed:poolpositionwallettokenoperationaccounttrader
idstringrequired

Its id: a pool path, a wallet reference, a public id.

min length 1 · max length 200
null
null
hrefstringrequired
max length 300 · matches ^\/(?!\/)
atintegerrequired

When it was sent, in Unix seconds.

min 0 · max 9007199254740991
readbooleanrequired

True once read.

unreadintegerrequired

How many notifications are unread.

min 0 · max 9007199254740991
nextCursorstring | nullrequired

The cursor of the next page, or null on the last page.

Show properties
Any of:
string
string
null
null
asOfintegerrequired

When this answer was read, in Unix seconds.

min 0 · max 9007199254740991
400

Invalid input; errors names the fields.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
401

No session, or it ended.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
429

Too many requests; retryAfterSeconds says when to ask again.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
500

Server error.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
Try it
Server
Authorization
Parameters
Request
curl -X GET '/v1/me/inbox' \
  -H 'Cookie: session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "items": [
    {
      "id": "Xq3v9Kp2LmN8RtY4",
      "kind": "out-of-range",
      "title": "string",
      "subject": {
        "type": "pool",
        "id": "string"
      },
      "href": "string",
      "at": 1793145600,
      "read": true
    }
  ],
  "unread": 0,
  "nextCursor": "string",
  "asOf": 1793145600
}