VORDA
Technical guide

TradingView Webhook JSON Example

Webhook JSON examples for traders who want a payload they can test before routing alerts to a broker or exchange.

6 min readPublished June 5, 2026Updated June 22, 2026
Test the payload, not just the syntaxSend the JSON into sandbox and inspect the parsed result before you rely on live routing.

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.
Q&A

Short answers for users searching for a TradingView webhook JSON example.

Does TradingView support JSON in webhook alerts?

Yes. If the alert body is valid JSON, TradingView sends the webhook with a JSON content type.

Do TradingView webhooks require HTTPS?

Yes. The webhook destination should be an HTTPS URL.

Should I put passwords or API secrets in the webhook JSON?

No. TradingView warns against putting credentials or passwords directly in webhook bodies.

Use caseImplementation and setup
Main assetTradingView webhook JSON payload
Important noteUse HTTPS and avoid secrets in body
First stepStart free sandbox

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.

FAQ

Answers users search for before connecting automation.

Do TradingView webhooks require HTTPS?

Yes. TradingView webhook alerts are designed to send POST requests to an HTTPS URL.

Should I put credentials in the webhook body?

No. TradingView warns against putting credentials or passwords in webhook payloads. Keep account secrets out of the alert body.

Keep exploring execution, routing, and reliability.