Can I use Airtable API to create a table?Īirtable API doesn’t support creating tables. Please refer to your Airtable API documentation for more details and sample requests. So, using PATCH is a safer way to apply changes to your Airtable data. The PUT request will delete the information from the fields that were not mentioned in the request. The PATCH request only updates the specified fields, leaving the rest as they are. The response will contain the same record object, as a confirmation, with additional data: the id of the newly created record and the creation time.īe mindful of the difference between PUT and PATCH requests. H "Authorization: Bearer keyuYDpcUa4FmSW8z" \ You can use the following methods to make changes to the data stored in Airtable:įor example, the following POST request will add a record to the ‘Design projects’ table: curl -v -X POST \ \ If your integration is designed to be a bi-directional one, you need to be able to add or update data in Airtable bases via API. H "Authorization: Bearer YOUR_API_KEY" Can Airtable push data to the API? To retrieve a specific record, issue a GET request to the record endpoint as follows (you need to know the record id): curl // \ H "Authorization: Bearer keyuYDpcUa4FmSW8z"īy the way, you can enable the show API key checkbox in your Airtable API documentation, if you want to include your API key in the sample requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |