Get Airtable Record
Retrieve a single record from an Airtable base
POST
/api/airtable/get-record
Auth Required
Connection Required:
This tool requires a connection to
Airtable
Action Cost: This tool consumes 1 action per request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
base_id |
text
|
Required |
The Airtable base ID (starts with "app")
Example:
appXXXXXXXXXXXXXX
|
table_id |
text
|
Required |
The table ID or name (starts with "tbl")
Example:
tblXXXXXXXXXXXXXX
|
record_id |
text
|
Required |
The record ID to retrieve (starts with "rec")
Example:
recXXXXXXXXXXXXXX
|
Request Example
curl -X POST https://nisastack.com/api/airtable/get-record \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"base_id": "appXXXXXXXXXXXXXX",
"table_id": "tblXXXXXXXXXXXXXX",
"record_id": "recXXXXXXXXXXXXXX",
"_connections": {
"airtable": "your-airtable-connection-slug"
}
}'
Response Format
Success Response (200 OK)
{
"success": true,
"data": {"id": "recXXX", "fields": {"Name": "Example", "Status": "Active"}, "createdTime": "2024-01-01T00:00:00.000Z"},
"metadata": {
"actions_consumed": 1
}
}
Error Response
{
"success": false,
"error": "Error message describing what went wrong"
}
Additional Notes
Requires a valid Airtable Personal Access Token with read permissions for the specified base.
Try it out
Test this tool interactively in the playground with your own API token.