Apr 30, 2024 07:22 AM - edited Apr 30, 2024 07:26 AM
Hi, when building our product iOS Shortcuts Library for Airtable users, it's all based on the Airtable API. In recent days, we've gained a lot of experience using the current Airtable API. Here is an overview and sharing of our knowledge that you can use as a quick reference before diving into the lengthy API documentation.
Key Concept: BaseID, TableID, RecordID
When using the Airtable API, you need to specify which base and table you want to interact with. Unlike the Graph UI, you need to specify their IDs. The easiest approach is to open a record in your browser, and you will find the ID in the URL path.
What Are the Major Capabilities of the Current Airtable API?
Although there are more than 30 different APIs, here are the 4 most important ones, ranked objectively:
1. Read records in a table using one of these two APIs:
2. Create records in a table using the Create Records API.
3. Read base schema: When reading or creating records, you'll need the table's schema information to understand the potential return data types for different fields, also this API will let you know every field name of all tables in the base.
How to Access the Airtable API
Example: Read Records from a Table
In this example, we're using the List Records API. As you can see, we specify the access token in the header and the baseID and tableID to tell Airtable which table we want to retrieve records from. With a GET request call, the Airtable API returns the desired records.
Hope this article can be useful for people who're also interested in using API in future, if you want more info about the Airtable API, feel free to left message and we will write them!
Resource of Airtable API
May 02, 2024 07:39 AM
If you have questions about the API overview please feel free to leave a message, happy to help!