Notifications

Endpoints to handle user notifications

get

Get notifications for a user with optional filtering and pagination

Query parameters
pagestringOptional
statusstring · enumOptionalPossible values:
Header parameters
x-wallet-addressstringRequired

Solana wallet address

x-signaturestringRequired

Signed message signature

x-signed-messagestringRequired

JSON string containing timestamp and action. Format: {"action": "string", "ts": "Unix timestamp (seconds)", "walletAddress": "string"}

Responses
200

Default Response

application/json
get
/notifications
200

Default Response

put

Update notification status (e.g., mark as read)

Path parameters
notificationIdstringRequired
Header parameters
x-wallet-addressstringRequired

Solana wallet address

x-signaturestringRequired

Signed message signature

x-signed-messagestringRequired

JSON string containing timestamp and action. Format: {"action": "string", "ts": "Unix timestamp (seconds)", "walletAddress": "string"}

Responses
200

Default Response

application/json
put
/notifications/{notificationId}/read
200

Default Response

get

Get all registered devices for an account

Header parameters
x-wallet-addressstringRequired

Solana wallet address

x-signaturestringRequired

Signed message signature

x-signed-messagestringRequired

JSON string containing timestamp and action. Format: {"action": "string", "ts": "Unix timestamp (seconds)", "walletAddress": "string"}

Responses
200

Default Response

application/json
get
/notifications/devices
200

Default Response

post

Register or update a device for push notifications

Header parameters
x-wallet-addressstringRequired

Solana wallet address

x-signaturestringRequired

Signed message signature

x-signed-messagestringRequired

JSON string containing timestamp and action. Format: {"action": "string", "ts": "Unix timestamp (seconds)", "walletAddress": "string"}

Body
deviceIdstringRequired
tokenstringOptional
platformstring · enumOptionalPossible values:
Responses
200

Default Response

application/json
post
/notifications/devices
200

Default Response

delete

Delete a device registration

Path parameters
deviceIdstringRequired
Header parameters
x-wallet-addressstringRequired

Solana wallet address

x-signaturestringRequired

Signed message signature

x-signed-messagestringRequired

JSON string containing timestamp and action. Format: {"action": "string", "ts": "Unix timestamp (seconds)", "walletAddress": "string"}

Responses
200

Default Response

application/json
delete
/notifications/devices/{deviceId}
200

Default Response

Last updated