Skip to content
Docs

Registering an Airtable OAuth 2.0 integration

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from Airtable’s own documentation: OAuth integrations guide, OAuth reference, and Scopes. Retrieved 2026-07-03.

Airtable OAuth is for integrations where each end user grants your app access to their own bases. The flow is authorization-code with mandatory PKCE (S256) and a required state parameter.

  1. Sign in to Airtable and open the OAuth integrations panel at https://airtable.com/create/oauth.
  2. Click Register new OAuth integration.
  3. Enter a unique integration name and a redirect URL (a URI you control that Airtable will send the authorization code back to), then click Register integration.
  4. On the integration’s management page, add at least one permission scope (for example data.records:read, schema.bases:read, webhook:manage). The user-authorization dialog only previews once a scope is added.
  5. Click Generate client secret and copy it immediately — the client secret is not recoverable (you can regenerate it if lost). The client ID is shown on the same management page.
  6. If you intend to distribute the integration to other users, also configure a privacy policy URL and terms of service URL.
  1. Send the user to GET https://airtable.com/oauth2/v1/authorize with query parameters client_id, redirect_uri, response_type=code, scope (space-delimited), a cryptographically-random state (16–1024 chars of A–Z a–z 0–9 . - _), code_challenge, and code_challenge_method=S256.
  2. After the user consents, Airtable redirects to your redirect_uri with code and the same state — verify state matches to prevent CSRF.
  3. Exchange the code at POST https://airtable.com/oauth2/v1/token (Content-Type: application/x-www-form-urlencoded) with body grant_type=authorization_code, code, redirect_uri, and code_verifier. Because the integration has a client secret, send credentials in the Authorization: Basic base64url(client_id:client_secret) header (this header is required for confidential integrations and forbidden for those without a secret).
  4. The response returns access_token (expires in ~60 minutes), refresh_token (expires in ~60 days), token_type, scope, expires_in, and refresh_expires_in.
  1. Refresh at the same token endpoint with grant_type=refresh_token and the current refresh_token. Airtable rotates both tokens: the previous access and refresh tokens are invalidated and a new pair is returned, so always persist the newly issued refresh_token. If a connection sits idle past the ~60-day refresh-token lifetime, the user must re-authorize.
  2. Confirm a token works with GET https://api.airtable.com/v0/meta/whoami, which returns the user id (and granted scopes) without requiring any scope.

Open Connections under Credentials, choose Airtable, and pick Airtable OAuth 2.0. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: Airtable in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.