11. JSON Payload Fields

Complete field reference for webhook payloads.

Every webhook payload sent to NinjaSync uses the fields below. Required fields are marked accordingly — some are conditionally required depending on the order type.

FieldRequiredDefaultDescription
alertYesOrder type and direction (see All Order Types reference).
accountYesNT8 account name exactly as shown in NinjaTrader (e.g. Sim101). Comma-separate for copy trading.
tickerYesInstrument name as shown in NT8. Both formats accepted: NQ 03-26 or NQ MAR26.
qtyYes*Number of contracts as a string (e.g. "1"). Not needed for close/cancel types.
tifNo"GTC"Time in Force. GTC = Good Till Cancelled. DAY = expires at end of session.
take_profit_priceNoAbsolute price for the take profit bracket order.
stop_loss_priceNoAbsolute price for the stop loss bracket order.
limit_priceNo*Absolute entry limit price. Required for limit and stop-limit entries.
entry_stop_priceNo*Absolute entry stop price. Required for stop-limit and stop-market entries.
oco_idNo*autoUnique identifier for the OCO bracket. Required for Adjusted OCO, Cancel OCO, and Cancel OCO and Flatten.
strategyNo*ATM Strategy name (must match exactly in NinjaTrader). Required for ATM order types.
strategy_idNoATM Strategy ID for stopping a specific strategy instance.
commentNoOptional comment attached to the order.
auth_tokenNoAPI key for authentication. Required if "Require API key" is enabled in settings.

Note

Fields marked with * are conditionally required. Yes* means required for most order types but not close/cancel types. No* means required only for specific order types that use that field (e.g. limit_price for limit entries, strategy for ATM orders).