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.
- Sign in to Airtable and open the OAuth integrations panel at
https://airtable.com/create/oauth. - Click Register new OAuth integration.
- Enter a unique integration name and a redirect URL (a URI you control that Airtable will send the authorization
codeback to), then click Register integration. - 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. - 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.
- If you intend to distribute the integration to other users, also configure a privacy policy URL and terms of service URL.
Authorization + token exchange
Section titled “Authorization + token exchange”- Send the user to
GET https://airtable.com/oauth2/v1/authorizewith query parametersclient_id,redirect_uri,response_type=code,scope(space-delimited), a cryptographically-randomstate(16–1024 chars ofA–Z a–z 0–9 . - _),code_challenge, andcode_challenge_method=S256. - After the user consents, Airtable redirects to your
redirect_uriwithcodeand the samestate— verifystatematches to prevent CSRF. - Exchange the code at
POST https://airtable.com/oauth2/v1/token(Content-Type: application/x-www-form-urlencoded) with bodygrant_type=authorization_code,code,redirect_uri, andcode_verifier. Because the integration has a client secret, send credentials in theAuthorization: Basic base64url(client_id:client_secret)header (this header is required for confidential integrations and forbidden for those without a secret). - The response returns
access_token(expires in ~60 minutes),refresh_token(expires in ~60 days),token_type,scope,expires_in, andrefresh_expires_in.
Refresh and rotation
Section titled “Refresh and rotation”- Refresh at the same token endpoint with
grant_type=refresh_tokenand the currentrefresh_token. Airtable rotates both tokens: the previous access and refresh tokens are invalidated and a new pair is returned, so always persist the newly issuedrefresh_token. If a connection sits idle past the ~60-day refresh-token lifetime, the user must re-authorize. - 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.
Connect it to Publicus
Section titled “Connect it to Publicus”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.