Guide
What is a webhook in Nyria?
A webhook is an address that another service sends data to. Each Nyria strategy has its own webhook URL. The URL ends in the strategy's webhook token. Your alert source sends each alert to that address.
Official documentation
Send a first alert to a webhook
- 1
Open the strategy
Open the strategy you want to send alerts to.
- 2
Copy the URL
Copy its webhook URL from the Integration tab.
- 3
Paste it into the source
Paste it into TradingView, TrendSpider or your own script.
- 4
Send an alert
Send one alert.
- 5
Read the log
Read the strategy's log to see what arrived.
What it is
- It is an address that receives data.
- Another service sends data to it.
- Nyria uses it to receive your alerts.
- Each strategy has its own address.
The URL and the token
- The webhook URL is the full address.
- It ends in the strategy's webhook token.
- Treat the URL like a password.
- Rotate the token if the URL leaks.
Who sends to it
- TradingView sends an alert to it.
- TrendSpider sends an alert to it.
- A custom script sends alerts to it.
- Discord and Telegram sources have none.
AI agents
- An AI agent uses the strategy's MCP server URL.
- It doesn't use the webhook URL.
- Each strategy has its own MCP server URL.
- Read the AI agents guide to set it up.
Test it
- Test an alert with the alert tester.
- Or send a test alert with curl.
- Read the response code that comes back.
- Read the strategy log.
Keep it safe
- Don't post the URL in chats or videos.
- Anyone with it can send alerts.
- Rotate the token on the Integration tab.
- The old URL stops working at once.
Questions
- What is a webhook?
- An address another service sends data to.
- Does each strategy have one?
- Yes. Each strategy has its own webhook URL.
- What does the URL end in?
- The strategy's webhook token.
- Do Discord alerts use it?
- No. Discord and Telegram sources have no webhook URL.
- Is it secret?
- Yes. Treat it like a password.
- How do I test one?
- Use the alert tester or send a test with curl.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Write a TradingView message with the alert builder.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Alert tester.
Guides
What is a Nyria webhook URL?
A strategy's own address for receiving alerts. It ends in the webhook token.
Read guideWhat is a Nyria webhook token?
The secret at the end of a strategy's webhook URL. Keep it private.
Read guideHow do I test a trading webhook with curl?
One curl POST on Nyria Paper. Read the reply, then the Logs tab.
Read guideHow do I keep a trading webhook URL secure?
The token in the URL is the only authentication. Rotate it if it leaks.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.