Skip to content

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. 1

    Open the strategy

    Open the strategy you want to send alerts to.

  2. 2

    Copy the URL

    Copy its webhook URL from the Integration tab.

  3. 3

    Paste it into the source

    Paste it into TradingView, TrendSpider or your own script.

  4. 4

    Send an alert

    Send one alert.

  5. 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

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.