Skip to main content
This endpoint marks the notifications that you send as seen. After that, Get notification history returns "read": true for them and leaves them out of unread_count.
  • Seen state belongs to the account. All the account’s devices and browsers see the same state.
  • There is no “mark all” call. Send the IDs that you show, for example when the user opens the list or taps a notification.
  • Pacifica ignores unknown IDs, IDs of other accounts, and IDs that aren’t in the in-app history.
  • The call is idempotent. Marking a seen notification again has no effect.

Operation Type (for Signing)

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5j1Vy9Uq…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”ids”arrayrequiredNotification IDs from Get notification history or from a Web Push payload’s notification_id[81234, 81102]
“expiry_window”integeroptionalSignature expiry in milliseconds30000
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
You can sign this request with the account key or with an agent wallet.

Response

  • Status 200: Notifications marked seen
  • Status 400: Invalid request parameters or signature
  • Status 403: The account doesn’t exist. An account exists after its first deposit
  • Status 429: Rate limit exceeded
  • Status 500: Internal server error

Code Example (Python)