Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Filter By record id

Topic Labels: API
Solved
Jump to Solution
1926 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hello.
I am trying to implement a search functionality using the record id is this possible given that the id isn’t in one of the fields?
As an example, I have the following records

records: [
{
id: “rec2PRjhAMAh2O64a”,
fields: {
Name: “blah blah”,
}},
{
id: “rec2otu8JF7ijlmA4”,
fields: {
Name: "klkdsd ",
},]
I want to search by the id. Is this possible?

1 Solution

Accepted Solutions

If you are using the Standard REST API, the only way to request filtered records is with filterByFormula, which only works on existing fields. If you have creator access to the base, you could create a new formula field that displays the record id.

See Solution in Thread

1 Reply 1

If you are using the Standard REST API, the only way to request filtered records is with filterByFormula, which only works on existing fields. If you have creator access to the base, you could create a new formula field that displays the record id.