Skip to main content
POST
/
api
/
notifications
/
{address}
/
dismiss
Dismiss Notification
curl --request POST \
  --url https://backend-global.gains.trade/api/notifications/{address}/dismiss \
  --header 'Content-Type: application/json' \
  --data '
{
  "notificationId": 123
}
'
{
  "success": true
}

Endpoint

POST /api/notifications/{address}/dismiss Marks one notification as acknowledged.

Parameters

ParameterLocationRequiredTypeDescription
addresspathYesstringWallet address.

Request Body

Send JSON matching the schema shown in the generated API panel.

Usage Example

curl -X POST "https://backend-global.gains.trade/api/notifications/0x0000000000000000000000000000000000000000/dismiss"

Response Structure

The generated API panel lists the response schema for status codes: 200, 400, 500. Error responses generally return an error or message field.

Path Parameters

address
string
required

Wallet address.

Body

application/json
notificationId
integer
required

Response

Successful response

success
boolean