Webhook Data Response Structure
This document describes the structure of the webhook data response payload. The payload is typically sent via an HTTP POST request to a configured webhook endpoint.
π Unified Webhook Structure
1. Watchlist Trader Alert
2. Custom Trader Alert
3. Copy Trader Alert
I. Root-Level Fields
Field Name
Type
Description
Applies To
type
string
TRADER β Track manual trader activity
CUSTOM β Triggered when trader matches custom filters
COPY_TRADE β Auto-executed trades copied from a trader
All
name
string
Name of the alert group or custom label
All
webhookUrl
string
Webhook delivery URL
All
data
object
Payload containing full trade information
All
timestamp
string
When the webhook was sent (ISO 8601, UTC)
All
II. Data Object Fields
Field Name
Type
Description
Applies To
id
string
Unique ID for the trader action
TRADER, CUSTOM
activityLogId
string
Unique ID for copytrade log
COPY_TRADE
account
string
Trader's address
All
type
string
OPEN: Opened a new position
INCREASE: Added more volume to current trade
DECREASE: Reduced partial volume
MODIFY: Modified position
CLOSE: Closed the position entirely
All
isLong
boolean
true = Long
false = Short
All
leverage
string
Leverage used in the trade
All
token
string
Token being traded
All
volume
number
Trade size
All
price
number/string
Executed price
All
positionId
string
Position ID linked to this trade
TRADER, CUSTOM
protocol
string
Trading protocol/platform used
All
time
string
Trade execution time (ISO 8601, UTC)
TRADER, CUSTOM
exchange
string
Name of the exchange
COPY_TRADE
walletName
string
Name of the userβs wallet used in copytrade
COPY_TRADE
isReverse
boolean
Whether the copy is in reverse mode
COPY_TRADE
isSuccess
boolean
Whether the copy trade was successfully executed
COPY_TRADE
errorMsg
string
Error message (if copy trade failed)
COPY_TRADE(on fail)
copyTradeTitle
string
Campaign title for copy trade
COPY_TRADE
userRef
string
User 's reference code
COPY_TRADE
roi
number
Return on investment (decimal: 0.04 = 4%)
COPY_TRADE, TRADER (on CLOSE)
pnl
number
Profit or loss (in token units)
COPY_TRADE, TRADER (on CLOSE)
Last updated
Was this helpful?