Airtable personal access tokens are created in the developer hub at airtable.com/create/tokens, where you choose scopes and the bases or workspaces each token can reach. An Airtable token acts as your user account, is sent as a Bearer token, never expires by default, and can be regenerated or deleted from the … menu next to it.
Airtable key types
| Type | Prefix | Secret? | Scope | Expiry |
|---|---|---|---|---|
| Personal access token The full value is a 17-character token ID, a period, and a 64-character secret that is shown only once. | — | Yes | The scopes you choose, limited to the bases and workspaces you select and to what your own user can do | Does not expire unless deleted, regenerated or modified; Enterprise admins can set a maximum lifetime |
How to create a Airtable key
- Sign in to Airtable and open the developer hub at airtable.com/create/tokens.
- Click Create token and give the token a name.
- Click + Add a scope and add only the scopes the integration needs, for example
data.records:read. - Click + Add a base to pick specific bases, or + Add all resources for broad access.
- Create the token and copy it into a secrets vault; the secret part is shown only once.
Limiting what the key can do
Scopes control which endpoints an Airtable token can call, and resources control which bases or workspaces it can touch. Pick a narrow scope list and named bases rather than + Add all resources. A token can never do more than the user who created it, and enterprise. scopes are limited to Enterprise Scale plans.
How to rotate a Airtable key
- Open the developer hub at airtable.com/create/tokens.
- Click … next to the token, then Regenerate token and confirm the warning.
- Copy the new value and update every service that used the token.
Regenerating breaks any service still using the old value until it is updated. To avoid downtime, create a second token with the same scopes, deploy it, then delete the old one.
How to revoke a Airtable key
- Open the developer hub at airtable.com/create/tokens.
- Click … next to the token, then Delete token. Services using it stop working.
If your Airtable key leaked
- Regenerate or delete the exposed token from the developer hub.
- Update every service that used it with a new token.
- Review the bases the token could reach for records, fields or tables changed unexpectedly.
- When sharing a token for support, redact everything after the period; Airtable says to regenerate any token whose secret was shared.
- GitHub push protection blocks commits containing Airtable personal access tokens when it is enabled on the repository.
Things that catch people out
- Send the token as a Bearer header. The legacy
api_keyURL parameter is not supported. - The token acts as you, so a broad token can reach everything you can.
- Regenerating a token invalidates the old value immediately; there is no overlap.
- Personal access tokens cannot write to synced tables or be limited to a single interface or view.
Common Airtable authentication errors
Invalid permissions, or the requested model was not found.
HTTP 403 INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND; the user or token cannot access the resource, or it does not exist.
You are not permitted to perform this operation
HTTP 403 INVALID_PERMISSIONS; the token or user lacks permission for this write.
Invalid authentication token
HTTP 401; the token is wrong, deleted, regenerated or expired under an Enterprise lifetime policy.
Using your Airtable key with AI agents
A coding agent that can read your .env file or your shell history can read the key, and anything in its context can end up in logs, transcripts or a prompt-injected request. The safer pattern is to keep the key in a credential broker that performs the authenticated step for the agent and hands back only the result.
BotPassword works this way. For a Airtable key, these intents fit:
| Intent | What BotPassword does |
|---|---|
run_with | Runs a command with the key injected as an environment variable or a 0600 temporary file, never on the command line, and redacts the key from the output. |
http_request | Makes an authenticated API call after checking the destination against the hosts this key may be sent to. The response comes back with credential-shaped values redacted, and one that holds the key itself is refused. |
rotate | Partly built: creates a new key, stores it as pending, verifies it, promotes it, then revokes the old key after a grace period. Today it works for Cloudflare tokens and AWS IAM keys you have set up, and an agent can start it only under a grant with autopilot; other providers cannot be rotated through their API yet. |
store_secret | Saves a value the agent already holds as a new vault item. |
Airtable also publishes its own MCP server. Whatever server the agent uses, keep the credential it authenticates with out of the agent's context.
Set it up in your agent: Aider · Amp · Claude Code · Claude Desktop · Cline · OpenAI Codex CLI · all agents
Frequently asked questions
Where do I get an Airtable API key?
Airtable now uses personal access tokens, created at airtable.com/create/tokens. Choose scopes and bases when you create one.
How do I send an Airtable token in a request?
Put it in the Authorization header as Bearer followed by the token.
Do Airtable personal access tokens expire?
No. An Airtable personal access token stays active until it is deleted, regenerated or modified, unless an Enterprise admin sets a maximum lifetime.
How do I regenerate an Airtable token?
In the developer hub, click … next to the token and choose Regenerate token, then update every service with the new value.
Why do I get INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND?
Either the token or your user cannot access the base or table, or it does not exist. Check the token's scopes and base access.
Can an AI agent use my Airtable key without seeing it?
Yes, if the key never enters the agent's context. Instead of pasting the key into a chat or leaving it in a .env file the agent can read, keep it in a credential broker that injects it into the command or request on the agent's behalf. BotPassword does this with run_with, http_request, store_secret, so the agent gets the result and never the value.