API and SDK
Scoped access for scripts, notebooks and MCP clients. Personal tokens act as you; service credentials authenticate a machine.
Loading personal tokens…
Use a token
The same bearer token works with the REST proxy and the MCP server. Put a token in SHEETBASE_TOKEN and run the request below; it lists up to five projects the token can read.
- REST proxy
/api/db/{table}- MCP server
POST /api/mcp· JSON-RPC
curl "https://your-workspace.example/api/db/projects?select=id,key,title&limit=5" \
-H "Authorization: Bearer $SHEETBASE_TOKEN"