Webhooks in Alerts
How to Use Webhooks with Alerts
Webhooks let PANDA Terminal send alert data directly to external platforms like Slack, Discord, Telegram, or your own custom tool — instantly, the moment an alert triggers.
You won’t need to check charts. You set the alert → we send the notification automatically.
1. Add a Webhook URL
When creating or editing an alert:
- Open Alerts
- Select Create/Edit Alert
- Paste your Webhook URL into the Webhook URL field
- Save the alert
As soon as the alert triggers, PANDA Terminal sends an HTTP POST request to that URL.
2. Payload Format
The content type depends on what your alert message contains:
| If your alert message is... | We send as... |
|---|---|
Valid JSON ({ "key": "value" }) | application/json |
Plain text (BTC breakout 🚀) | text/plain |
If your integration requires JSON (Slack/Discord do), make sure your alert message is written in JSON format.
3. Quick Examples (Copy + Paste Ready)
Slack
- Go to: Slack → Settings → Incoming Webhooks.
- Click Create New Webhook.
- Select the Slack channel messages should appear in.
- Slack will give you a webhook URL, copy it.
Slack requires a JSON body with a "text" field.
Paste this as your alert message:
{"text": "ETHUSDT greater than 4000 🔥"}
Discord
Discord requires the message inside "content".
- Open Discord
- Right-click on a channel → Edit Channel.
- Go to Integrations → Create Webhook.
- Copy the Webhook URL provided.
{"content": "BTCUSDT is breaking above 130K 🚀"}
Telegram (with Bot API)
Telegram doesn’t use incoming webhooks like Slack & Discord. You must create a bot using BotFather, then send alerts using the Bot API.
Webhook URL format:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage
Alert message (JSON body):
{
"chat_id": -100XXXXXXXXXX,
"text": "Hello from PANDA Terminal!"
}
Chat ID format
| Where you're sending | chat_id format |
|---|---|
| Group chat | starts with -100 |
| Personal chat | normal positive number |
4. Security Checklist (Important)
Do not include:
- 🚫 Passwords
- 🚫 API keys
- 🚫 Tokens
- 🚫 Login credentials
Only send safe message content. If you need sensitive data, secure & encrypt it externally.
Done. You're Live.
Set the alert → Webhook fires instantly → Your system receives the data.
Zero manual monitoring. Zero delay.