Skip to content

Guide

How do I rotate my Nyria strategy token?

Open the strategy, go to the Integration tab and select Rotate token, then confirm. Nyria issues a new token and the old one stops working at once. The webhook URL, the REST API header and the MCP server URL all carry that token, so each alert source and AI client that used the old one needs the new value.

Official documentation

Rotate a strategy token

  1. 1

    Open the strategy

    Go to the Integration tab.

  2. 2

    Select Rotate token

    Confirm when Nyria asks.

  3. 3

    Copy the new URL

    Use Show URL to see the webhook or MCP server URL.

  4. 4

    Update every sender

    Paste it into each TradingView alert, script, automation and AI client.

  5. 5

    Send one test alert

    Use a paper bot and check the strategy's Logs tab.

What stops working

  • The old webhook URL stops working at once.
  • A REST call with the old token answers 401 Unauthorized.
  • An MCP client with the old URL or header loses its Nyria tools.

When to rotate

  • The webhook URL is the endpoint's only authentication, with no signature header and no IP allowlist.
  • Rotate if the URL leaked into a chat, a screenshot or a shared config.
  • Anyone holding the token can send alerts to that strategy.

What stays the same

  • The token belongs to one strategy, so other strategies keep theirs.
  • Your bots, broker connections and strategy rules are unchanged.
  • Nyria can place and cancel orders, but it cannot move money.

Questions

Does rotating the token stop my bots?
No. Bots and strategy rules stay as they are. Only the old token stops working.
Do I need a new token for each client?
No. One token per strategy. Paste the same new value into every client.
Why do I get 401 after rotating?
A sender still uses the old token. Copy the new one from the Integration tab.
Can I keep the old URL working?
No. The old token stops working at once.
Is the token the same for webhook and MCP?
Yes. Both carry the strategy's token.

Next

Try a paper bot first

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