Skip to main content
POST
/
v1
/
traders
/
{trader_pubkey}
/
notifications
/
ack
/
notifications
Acknowledge notifications
curl --request POST \
  --url https://perp-api.phoenix.trade/v1/traders/{trader_pubkey}/notifications/ack/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "type": "event"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

Bearer access token issued by /v1/auth/* login endpoints.

Path Parameters

trader_pubkey
string
required

Trader pubkey (base58)

Body

application/json

JSON request payload for post.v1.traders.by_trader_pubkey.notifications.ack.notifications.

items
object[]
required

Event ack: by DB id or by composite index (slot, slotIndex, instructionIndex, eventIndex, recipientIndex). JSON uses camelCase for field names and lowercase for the "type" discriminant ("event" | "admin" | "general").

Response

200 - application/json