TradingView Webhook API
Handle TradingView webhook
Receives webhook alerts from TradingView and queues them for asynchronous processing. Returns 202 Accepted with a requestId that can be used to check status.
post/rest/api/v1/webhooks/tradingview/accounts/{accountId}
Path parameters
accountIdstring uuid required
Request body
string required
Response
OK
Example response
{
"attemptCount": 1,
"closedPositions": [
{
"positionId": "12345678",
"success": true,
"symbol": "EURUSD"
}
],
"code": "AMBIGUOUS_MATCH",
"hint": "Add 'force: true' to proceed or use more specific matching criteria",
"matchCount": 3,
"message": "Position opened successfully",
"originalRequestId": "req_xyz789",
"requestId": "req_abc123def456",
"status": "PROCESSING",
"success": true
}