Retrieve a single record. Any "empty" fields (e.g. "", [], or false) in the record will not be returned.
Records
Get record
get
https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}
Authentication | Personal access token, OAuth integration |
Scope | data.records:read |
User role | Base read-only |
Billing plans | All plans |
optional< "json" | "string" > The format that should be used for cell values. Supported values are:
Note: You should not rely on the format of these strings, as it is subject to change. The default is | |
optional< boolean > An optional boolean value that lets you return field objects where the key is the field id. This defaults to |
string Record ID | |||
string A date timestamp in the ISO format, eg:"2018-01-01T00:00:00.000Z" | |||
object Cell values are keyed by either field name or field ID (conditioned on See Cell Values for more information on cell value response types.
|
Request (example)
Copy
$curl "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}" \-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{"createdTime": "2022-09-12T21:03:48.000Z","fields": {"Address": "333 Post St","Name": "Union Square","Visited": true},"id": "rec560UJdUtocSouk"}