API token

Also called personal access token, access token

Definition

A long secret string that lets a script or an app act as you without your password. Anyone holding the token has its access, so keep it secret and revoke it when done.

On this page

An API token stands in for signing in. Instead of a password and a sign-in form, a program sends the token with each request.

Keep it safe

  • Treat a token like a password: never put it in a page, a public repository or a screenshot.
  • Give it an expiry, so a forgotten token stops working by itself.
  • Revoke it as soon as you no longer need it.

In the starter

AI agents connect through MCP with a personal access token. Make one in Account → Tokens with a name and an expiry of 30 days, 90 days, a year or none. It's shown once. The agent then has your tools and role, and nothing more, and the token only works on the MCP endpoint. Revoke it in the same place and it stops working on the next call.

Sam Rivera

Founder

Sam builds and runs the product, and answers the questions customers ask before they buy. Ten years of shipping subscription software, most of it the unglamorous parts: billing, sign-in and the pages that sell.