Yes. If the alert body is valid JSON, TradingView sends the webhook with a JSON content type.
TradingView Webhook JSON Example
Webhook JSON examples for traders who want a payload they can test before routing alerts to a broker or exchange.
That turns a webhook example into a safe execution setup process.
What to get right in the payload
- Valid JSON changes how the webhook request is sent.
- TradingView placeholders make structured alert payloads reusable across strategies.
- Credentials should not live inside the webhook body.
Short answers for users searching for a TradingView webhook JSON example.
Yes. The webhook destination should be an HTTPS URL.
No. TradingView warns against putting credentials or passwords directly in webhook bodies.
A TradingView webhook payload should be explicit and testable
Users searching for a JSON example are close to implementation. They need a payload shape that is easy to understand, safe to test, and useful for downstream routing.
The payload should make the intended action, symbol, strategy identity, and sizing inputs obvious.
Use placeholders where the strategy can provide them
TradingView strategy alerts support placeholders such as order action and custom alert message values. That makes it possible to build reusable payloads that still carry live strategy context into the execution layer.
Those placeholders are most useful when the receiving system shows exactly what it parsed.
Test the payload through logs before turning on live execution
A webhook example should not stop at syntax. The practical value comes from sending the alert into a sandbox environment, inspecting the parsed payload, and confirming that the execution layer understood what the strategy intended.
Only then should the payload be trusted for live broker or exchange routing.
Answers users search for before connecting automation.
Yes. TradingView webhook alerts are designed to send POST requests to an HTTPS URL.
No. TradingView warns against putting credentials or passwords in webhook payloads. Keep account secrets out of the alert body.