Foundry REST API
Connect
Waystone talks to a Rolemaster Unified world through the Foundry REST API module. Keys stay in this browser and are sent only to the relay — never written into the app.
Step 1
Install the module in Foundry
In Foundry, install Foundry REST API from the package directory. Enable it in the RMU world (system id rmu) and keep that world open — the module only talks to the relay while Foundry is running. In that module’s settings, turn on Allow Execute JS — RMU skills are prepared in Foundry and cannot be read without it.
Step 2
Same key, two different URLs
Create a scoped key at foundryrestapi.com. Paste that key in both places:
- Foundry module settings → API key + WebSocket wss://foundryrestapi.com (or wss://foundryrestapi.com/relay)
- Waystone, below → same key + REST URL https://foundryrestapi.com
On the scoped key include execute-js (RMU skills and folders are prepared in Foundry, not stored on the actor), plus clients:read, entity:read, search, roll:execute, chat:write.
Step 3
Paste the key here