- 27 Aug 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
Finding Airtable IDs
- Updated on 27 Aug 2024
- 3 Minutes to read
- Print
- DarkLight
- PDF
All plan types/levels | |
Platform(s) | Web/Browser, Mac app, and Windows app (Add mobile apps if relevant) |
Airtable terminology |
|
Creating record ID fields
To create a field to display record IDs:
Visit your Airtable homepage.
Open your preferred base.
Click the + icon to the right of your desired table.
Select the Formula field type and enter
RECORD_ID()
.Click Create field.
Finding record IDs
To locate a record ID:
Visit your Airtable homepage.
Open your desired base.
Select and expand a record.
Review your address bar for an address similar to airtable.com/appxxxxxxxxx/tblxxxxxxxxx/viwxxxxxxxx/recxxxxxxxx.
Your record ID is the recxxxxxxxx section of the address.
Finding expanded record URL IDs
Expanded record URLs
If you expand a record, you can also see the specific record ID appear in your browser's address bar. Record ID strings always begin with "rec.” You can also determine record IDs by using a formula. In practical use, record IDs can be a great tool to use with our Automations feature.
Finding field IDs
Field IDs
Navigate to the base and table containing the field you want to identify.
Click the Manage fields option under the “Tools” menu. Find more information here if you haven’t access Field manager before.
Here, you’ll see a list of the the fields and a column for the “Field ID.” If you do not see the “Field ID” column, then click on the column visibility toggle to show the “Field ID” column:
Finding base URL IDs
Base URLs
When you have a base open in a compatible web browser, you should see a URL in the address bar that looks similar to the example below:
In between each backslash, you will find a string that identifies the base, table, and view IDs.
Base IDs begin with "app"
Table IDs begin with "tbl"
View IDs begin with "viw"
If you were to click on another table or another view within this same base, then the URL would update to match the ID of the table or view that you are now looking at.
Finding Interface URL IDs
Interface URLs
From an open interface you will find two elements that make up the end of the URL:
Base ID - Denoted by the prefix
app
as noted aboveInterface page ID - Indicated by the prefix
pag
If you are a user with editor permissions, then you can additionally add /edit
to the end of the URL to open the interface page in edit mode.
Finding Workspace IDs
Finding workspace IDs from a browser
Log into your account and visit your home screen here.
You will see a list of workspaces you own or have access to in the left sidebar. Select a workspace. If you do not see this sidebar, then click the sidebar toggle at the top left corner of the screen:
As soon as you open the workspace, the URL in your browser's address bar will update and look something like the following:
https://airtable.com/workspaces/wspsqMNxxxxxxxxxxxxx?
. The text string starting withwsp
is your workspace ID.Note
If your address bar includes a “?” question mark at the end, do not include this question mark character in the ID of the workspace.
Finding IDs in the Airtable API
Base IDs
To find a Base ID in the Airtable API, click on the help button near the top-right of your screen. This will open a menu where you will see the "<> API documentation" option.
After clicking the button, you will be brought to our API documentation page that will dynamically surface which base you are working in currently. Both the base name and Base ID will appear.
Field IDs
In our Web API documentation, there is a section called Get base schema where you will find more information about how to identify Field IDs programatically from a specific table. It's worth noting that field IDs can also be gathered manually from the field manager. With the corresponding table open, click Manage fields in the upper right corner. This will open a window where you can find the appropriate field by name and then match that to the ID under Field ID.