← Back to home Docs

API tokens

A long-lived bearer credential for clients that can't sign in through a browser. Most people never need one: Claude Code and other OAuth-capable agents connect without any key to copy.

Try OAuth first. Install the plugin and run /mcp → spawnpoint → Authenticate; see Getting started. Reach for a token only when the client is a script, a CI job, or something else that can't do a browser sign-in.

What it is

A token is a bearer credential tied to your account. It looks like spk_live_1a2b3c…. Your client sends it to the MCP server on every call, and spawnpoint uses it to figure out which account the deploy belongs to. The endpoint accepts it interchangeably with an OAuth access token.

When to use one

OAuth is the default because nothing sensitive is ever pasted around: you approve once in the browser and your agent stores and refreshes the credentials itself. A static token is the escape hatch for the cases OAuth can't cover: a shell script, a cron job, a CI pipeline, or an MCP client with no OAuth support.

Create one

  1. Sign in to your console.
  2. Open the API tokens panel and click Create token.
  3. Copy the spk_live_… value immediately: it's shown once and never again.

Use it

Send it as the bearer token on the MCP endpoint:

Authorization: Bearer spk_live_your_token

How we keep it safe

Good practice

Lost a token? You can't view it again, but you can revoke it and create a fresh one in seconds.