The webhook hub

TradingView webhooks, explained

A webhook is how TradingView hands an alert to another service the instant it fires. Here is what that means, what the URL and payload look like, and how AlertSync turns one into a Telegram message with no code.

A TradingView webhook is a URL that TradingView calls with an HTTP POST the moment one of your alerts triggers. The POST carries the alert's message. AlertSync gives you a webhook URL of the form https://alertsync.in/hook/your-unique-id — you paste it into the Webhook URL field of a TradingView alert, and from then on every time that alert fires, AlertSync receives the POST and relays the message into your Telegram chat, group or channel in real-time. There is nothing to install and no code to write.

What a webhook actually is

An ordinary API call is something you make when you want data. A webhook is the reverse: it is a URL you register once, and the other service calls you when something happens. TradingView’s alert system can do exactly that — when you tick Webhook URL on an alert, TradingView sends an HTTP POST to that address every time the alert condition is met. The address needs to belong to something that is always listening. That is the part AlertSync provides, so you never have to run a server of your own.

  • You create a webhook in AlertSync and get a unique URL.
  • You paste that URL into a TradingView alert's Webhook URL field.
  • TradingView POSTs to it whenever the alert fires.
  • AlertSync delivers the message to the Telegram destinations you chose.

The webhook URL

Every AlertSync webhook has its own address. It looks like this:

https://alertsync.in/hook/your-unique-id

The id is random, unique to that one webhook, and never changes — so you can swap destinations behind it without touching TradingView. Because anyone holding the URL can post to your destinations, treat it like a secret and never publish it. The full breakdown is on the dedicated page below.

More on the webhook URL →

What you send — JSON or plain text

Whatever you type into a TradingView alert’s Message box is the payload. AlertSync accepts two shapes. A JSON object is rendered into clean, labelled lines in Telegram — each key becomes a bold label. Plain text is forwarded exactly as written, so a carefully composed template reads the way you wrote it. Payloads up to 1 MB are accepted.

TradingView — alert message
{
  "ticker": "{{ticker}}",
  "action": "{{strategy.order.action}}",
  "price": "{{close}}"
}
Any TradingView placeholder works inside the JSON.
Telegram — what lands in your chat

🔔 BTC breakout

ticker:  BTCUSDT
action:  buy
price:  68,420

12:04 ✓✓

Each JSON key becomes a bold label; a plain-text message is forwarded exactly as written.

More on the JSON payload →

Create one in about two minutes

  1. 1

    Create a webhook

    Sign in to AlertSync, click New Webhook, name it and pick a Telegram destination. AlertSync generates its unique /hook/ URL.

  2. 2

    Link Telegram

    Send a one-time six-digit code to @AlertSyncOfficial_Bot. Your account links in seconds, and every group or channel the bot is in becomes a selectable destination.

  3. 3

    Paste the URL into TradingView

    In your TradingView alert, expand Notifications, tick Webhook URL and paste the AlertSync URL. Save the alert.

  4. 4

    Watch it arrive

    The next time the alert fires, TradingView calls your webhook and AlertSync relays the message into Telegram in real-time.

Want every screen with screenshots? The full walkthrough covers the whole flow end to end — creating the webhook, linking Telegram with a six-digit code, and pasting the URL into a TradingView alert.

Read the step-by-step guide →

Explore the webhook playbook

Something not arriving?

A webhook that does not deliver almost always comes down to a handful of causes — the wrong URL, a disabled or quota-paused webhook, the bot missing from a group, or TradingView’s own paid-plan requirement. The troubleshooting page walks each one down and shows how to read the alert log to tell them apart.

Fix a webhook that is not working →

Frequently asked questions

What is a TradingView webhook?

A webhook is a URL that TradingView calls over HTTP the moment one of your alerts fires. Instead of only showing a popup, TradingView sends an HTTP POST to the address you give it, carrying the alert's message. AlertSync hands you that URL, receives the POST, and relays the message into your Telegram chat, group or channel in real-time.

Do I need to write any code to use a webhook?

No. You never run a server or write any code. AlertSync generates the webhook URL for you; you paste it into TradingView's alert settings and that is the entire integration. The relay accepts both JSON and plain-text messages, so any TradingView alert format works as-is.

What does a TradingView webhook URL look like?

Each AlertSync webhook has its own address of the form https://alertsync.in/hook/your-unique-id. The id is random and unique to that webhook, it never changes once created, and it is the only thing TradingView needs to reach you. Treat it like a secret — anyone who has it can post to your destinations.

Do I need a paid TradingView plan for webhooks?

Yes, for the webhook notification specifically. TradingView restricts the Webhook URL alert action to its paid tiers, and that applies no matter which relay you use — it is a TradingView limitation, not an AlertSync one. Everything on the AlertSync side, including creating and testing a webhook, works on our Free plan.

Is it free to relay TradingView webhooks to Telegram?

Yes to start. The AlertSync Free plan includes 1 webhook and 50 alerts a month with no card required. Paid plans add more webhooks, more monthly alerts, longer log retention and multi-destination fan-out, and start at ₹149/mo. Indian customers pay in rupees by UPI, card or net-banking.

Can one webhook send to more than one Telegram chat?

Yes, on any paid plan. A single webhook can fan out to several destinations at once — 2 on Starter, 5 on Pro, unlimited on Business — and the fan-out still counts as a single alert against your monthly quota, so reaching more chats never costs more.

Set up your relay in 2 minutes

Start on the Free plan — no card required — and watch your next TradingView signal land in Telegram in real-time.