A wallet signature challenge for alert settings
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.
/v1/alerts/challengeReturns 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.
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/challenge" \ -H "Content-Type: application/json" \ -d '{ "wallet": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "origin": "https://example.com", "preferences": { "dust": true, "thresholdLamports": "2039280", "weekly": false, "timeZone": "UTC", "channels": [ "telegram" ] }, "webPush": { "endpoint": "https://example.com", "keys": { "p256dh": "string", "auth": "string" } }, "mobilePush": { "token": "string" }, "walletApp": "phantom", "merge": true }'{ "challengeId": "challenge_01j3sa8pvcfp79z85hrb9y9xd6", "message": "string", "signInInput": { "domain": "burn.acme.example", "address": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "statement": "string", "uri": "https://example.com", "version": "1", "chainId": "string", "nonce": "string", "issuedAt": "2026-10-21T12:00:00.000Z", "expirationTime": "2026-10-21T12:00:00.000Z" }, "expiresAt": "2026-10-21T12:00:00.000Z"}The public VAPID key and browser delivery availability GET
The VAPID public key a browser subscribes to alerts with, and whether browser alerts can be delivered on this stage.
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.