A phone’s or a browser’s list of its wallets’ alerts
Every alert sent to the wallets this phone or browser gets alerts for, newest first, with how many are unread (AERO-3895). The device names itself by the push token or endpoint its wallets’ signatures linked, in the JSON body, never a query string; no account and no wallet signature. A device that isn’t linked gets an empty list. Opening one opens its wallet in the app, as its push does.
/v1/alerts/notificationsEvery alert sent to the wallets this phone or browser gets alerts for, newest first, with how many are unread (AERO-3895). The device names itself by the push token or endpoint its wallets’ signatures linked, in the JSON body, never a query string; no account and no wallet signature. A device that isn’t linked gets an empty list. Opening one opens its wallet in the app, as its push does.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/alerts/notifications" \ -H "Content-Type: application/json" \ -d '{ "mobilePush": { "token": "string" }, "webPush": { "endpoint": "https://example.com" }, "cursor": "string", "limit": 50 }'{ "data": [ { "id": "alertnote_01j3sa8pvcfp79z85hrb9y9xd6", "wallet": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "kind": "dust", "title": "string", "body": "string", "createdAt": "2026-10-21T12:00:00.000Z", "readAt": "2026-10-21T12:00:00.000Z" } ], "nextCursor": "string", "unreadCount": 0}Mark some or all of a device’s alerts read POST
Marks the named notifications in this phone’s or browser’s list read, or every one when `ids` is left out (AERO-3895). One outside its list is left alone. Safe to send again. Answers how many are still unread.
A read-only wallet proof for current notification settings POST
A message for the wallet to sign, read-only, to prove it owns the alert settings it then reads. No transaction and no SOL moves.