Webhook Reference

Receive trading signal to execute on TradersPost.

POST https://webhooks.traderspost.io/trading/webhook/{uuid}/{password}

Path parameters

uuid string · uuidrequired
Your unique webhook identifier, we call the uuid. Provided when you copy the entire webhook URL from your strategy dashboard.
password string required
Your webhook password. Provided when you copy the entire webhook URL from your strategy dashboard.

Responses

200 Successfully received webhook. application/json
successbooleanrequired
idstringrequired
logIdstringrequired
payloadobjectrequired
Echoes the accepted payload: a single object for a single-payload request, or an array of objects for a batch request.
400 Bad Request - The JSON that gets sent to TradersPost has to be precisely accurate in order for us to accept it. It is important to pay attention to all the details, all the little characters have meaning and are important. application/json
successbooleanrequired
logIdstringoptional
Optional log identifier for tracking the request. May not be present for certain types of errors (e.g., authentication failures, malformed requests).
messageCodestring · enumrequired
Specific error code indicating the type of validation error encountered.
Possible values:
post-requiredempty-jsonmalformed-jsoninvalid-payloadtoo-many-payload-itemsbatch-signals-not-enabledinvalid-actioninvalid-sentimentinvalid-sentiment-actioninvalid-order-typeinvalid-trailing-stopinvalid-option-typeinvalid-intrinsic-valueinvalid-expirationinvalid-strike-countinvalid-strikes-awayinvalid-strike-pricenot-trading-viewnot-trend-spiderinvalid-ip-addressinvalid-ip-address-formatticker-does-not-existinvalid-ticker-and-option-typeinvalid-passwordempty-ticker-nameunsupported-tickerinvalid-quantity-typeinvalid-quantity-type-actioninvalid-risk-dollar-amount-actioninvalid-percent-of-position-actionquantity-type-requires-quantityinvalid-quantity-type-for-asset-classinvalid-quantityinvalid-time-in-forceinvalid-extended-hoursinvalid-asset-classinvalid-take-profit-percentinvalid-take-profit-amountinvalid-take-profit-limit-priceinvalid-take-profit-amount-and-percentinvalid-take-profit-relative-and-absoluteinvalid-take-profit-value-requiredinvalid-stop-loss-typeinvalid-stop-loss-percentinvalid-stop-loss-amountinvalid-stop-loss-stop-priceinvalid-stop-loss-limit-priceinvalid-stop-loss-trail-priceinvalid-stop-loss-trail-amountinvalid-stop-loss-trail-percentinvalid-stop-loss-trail-valueinvalid-stop-loss-trail-value-requiredinvalid-stop-loss-amount-and-percentinvalid-stop-loss-relative-and-absoluteinvalid-stop-loss-stop-price-requiredinvalid-stop-loss-value-requiredinvalid-expires-atinvalid-message-lengthinvalid-message-tagsinvalid-delayinvalid-delay-formatinvalid-delay-pastinvalid-delay-exceeds-maxinvalid-delay-missing-timezoneinvalid-cancel-afterinvalid-reject-afterinvalid-stocks-ticker-formatinvalid-options-ticker-formatinvalid-futures-ticker-formatinvalid-crypto-ticker-formatinvalid-breakeven-offsetinvalid-breakeven-order-typeinvalid-market-price-typeinvalid-bid-ask-spread-filter-amount-and-percentinvalid-bid-ask-spread-filter-percentinvalid-take-profit-pnl-amountinvalid-take-profit-pnl-incompatibleinvalid-stop-loss-pnl-amountinvalid-stop-loss-pnl-incompatibleinvalid-stop-loss-pnl-trailinginvalid-risk-percent-actioninvalid-cancel-order-typeinvalid-formula-syntaxinvalid-formula-referenceinvalid-formula-dependencyinvalid-formula-nestedinvalid-formula-runtimeinvalid-formula-lengthinvalid-formula-operatorinvalid-formula-resultinvalid-formula-blacklisted-field
messagestringrequired
Human-readable error message explaining the validation error.
404 Resource not found. application/json
successbooleanrequired
messageCodestringrequired
messagestringrequired
500 Internal server error. Sometimes an HTML response might come back, but it's best just to rely on the 500 status code.
No content
200

Successfully received webhook.

{
    "success": true,
    "id": "47462f2d-378c-4bf5-a016-1c1221aa0e62",
    "logId": "a036eff1-b7db-4f15-b5b6-f5e51995ad29"
}