X-API-KEY header on every request.
Create a key
- In the dashboard, go to Settings → API keys.
- Create a key. You confirm with your passcode and an emailed code.
- Copy the key. It is shown once. StableMesh stores only a hash of it.
smk_live_.
When you create a key you can:
- Restrict it to IP addresses. Use exact IPv4 or IPv6 addresses, or a
a.b.c.*range, up to 20 entries. Requests from anywhere else are refused with11003. - Set an expiry date. After it, the key stops working.
Rate limit
Each key can make 20 requests per second. Above that, requests are refused with HTTP429 and code 11004. Wait a moment, then retry.