Docs
Authentication
Every request is authenticated with an API key sent as a Bearer token.
curl https://northwork.dev/api/v1/status \ -H "Authorization: Bearer $NORTHWORK_API_KEY"
Key types
| Prefix | Mode | Behaviour |
|---|---|---|
nw_live_ | Live | Reads and writes are real. |
nw_test_ | Test | Reads return real data. Writes are validated and return a simulated result; nothing is saved. |
Responses include X-Northwork-Mode: live|test. Keys are shown once, when you create them. If you lose one, rotate it to get a new secret.
Scopes
| Scope | Allows |
|---|---|
public:read | Products, changelog, status, blog and public Community content |
me:read | GET /v1/me: the account that owns the key |
waitlist:write | POST /v1/waitlists/{product}/entries |
guide:access | Lets Guide check the key for Log in with Guide and the Guide data API (keys bound to an app only; see Build for Guide) |
A request without the needed scope gets 403 insufficient_scope. Give each key only what it needs.
Keeping keys safe
- Keep keys on your server. A key in a web page or mobile app can be copied by anyone.
- Use one key per app or environment so you can revoke one without breaking the others.
- Rotate creates a new key with the same name, scopes and limit and revokes the old one immediately. Revoke stops a key for good.
- The dashboard shows when each key was last used.