Create an API key
API keys are how servers, scripts, and Claude Code authenticate — a static bearer token, no browser flow. You generate them from the Forktime dashboard and choose exactly which brands and capabilities each key can touch.
Generate a key
Section titled “Generate a key”- Sign in to the dashboard at app.forktime.ai.
- Open API keys (under Settings / Developer).
- Click Create key and give it a recognisable name (e.g. “Ordering bot — Medusa”).
- Choose the brands this key may access.
- Choose the scopes — the exact read/write capabilities it’s allowed. Grant the least it needs.
- Click Create, then copy the key — it’s shown once.
A key looks like:
gfk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxUse the key
Section titled “Use the key”Send it as a bearer token on every request to the MCP endpoint:
POST https://api.forktime.ai/mcpAuthorization: Bearer gfk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxMost MCP clients take this as a header. For Claude Code:
claude mcp add --transport http forktime https://api.forktime.ai/mcp \ --header "Authorization: Bearer gfk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Then confirm it works by calling list_brands — it should return the brands the key can access.
Good practice
Section titled “Good practice”- One key per integration. Separate keys for separate apps make revocation surgical.
- Least privilege. If an integration only reads the menu, give it
menu.readand nothing else. - Rotate on suspicion. Revoke and re-issue if a key may have leaked; the old one stops working immediately.
livevstest. Production keys are prefixedgfk_live_; non-production environments issuegfk_test_.
Prefer a browser sign-in for an interactive client like claude.ai or Cursor? Use OAuth instead — see Connect a client.