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

PrefixModeBehaviour
nw_live_LiveReads and writes are real.
nw_test_TestReads 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

ScopeAllows
public:readProducts, changelog, status, blog and public Community content
me:readGET /v1/me: the account that owns the key
waitlist:writePOST /v1/waitlists/{product}/entries
guide:accessLets 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.