Skip to main content

how to get data for a specific field?

  • June 6, 2024
  • 3 replies
  • 115 views

Forum|alt.badge.img+1

When using the get request to get list of all the records is there anyway we can get list of all the records but the data only returns specific fields?

3 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • June 6, 2024

Set the <fields> option to an array of the fields (field names/ids) you want. This works for both scripting and the web api.


Forum|alt.badge.img+1
  • Author
  • New Participant
  • June 6, 2024

Set the <fields> option to an array of the fields (field names/ids) you want. This works for both scripting and the web api.


Could you give me a example of this parameter in the URL I think I might be doing something wrong I can't get it to work


TheTimeSavingCo
Forum|alt.badge.img+31

Could you give me a example of this parameter in the URL I think I might be doing something wrong I can't get it to work


Here:

https://api.airtable.com/v0/appz6YcyO3dXfqDWV/Table%201?fields%5B%5D=Name&fields%5B%5D=Notes

This is set up to only return the 'Name' and 'Notes' field

If you click into the specific base you're trying to access on this page Airtable provides base specific examples as well:  https://airtable.com/developers/web/api/introduction