Mark some or all of a device’s alerts read
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.
/v1/alerts/notifications/readMarks 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.
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/read" \ -H "Content-Type: application/json" \ -d '{ "mobilePush": { "token": "string" }, "webPush": { "endpoint": "https://example.com" }, "ids": [ "alertnote_01j3sa8pvcfp79z85hrb9y9xd6" ] }'{ "unreadCount": 0}A wallet signature challenge for alert settings POST
Returns a Sign In With Solana message binding the wallet, exact app origin and complete preferences. Sign its exact UTF-8 bytes within 10 minutes, once. No transaction, no funds movement. A change needs a fresh challenge and signature.
A phone’s or a browser’s list of its wallets’ alerts POST
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.