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
Open the strategy
Go to the Integration tab.
- 2
Select Rotate token
Confirm when Nyria asks.
- 3
Copy the new URL
Use Show URL to see the webhook or MCP server URL.
- 4
Update every sender
Paste it into each TradingView alert, script, automation and AI client.
- 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
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Alert tester.
Guides
How do I connect Claude to Nyria through MCP?
A custom connector with your strategy's MCP URL, or one Claude Code command.
Read guideWhy does my trading webhook answer 200 but place no order?
A 200 can mean rejected or duplicate. The Logs tab names the reason.
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 guideHow do I send trade alerts from my own code with a REST API?
POST /v1/alerts with a Bearer token. The reply carries an order_id you can poll.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.