curl --request POST \
  --url https://api.rampartcorporation.com/developer/v1/notifications/read \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-token: <x-account-token>' \
  --data '{
  "notificationIds": [
    "notification-123",
    "notification-456"
  ]
}'
{
  "success": true,
  "message": "2 notifications marked as read",
  "count": 2
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Headers

x-account-token
string
required

Account token for authentication

Body

application/json

Response

200 - application/json

Successfully marked notifications as read

The response is of type object.