Jun 03, 2019 10:01 PM
how can we get data from API in Airtable? below is the sample API
curl -X GET "https://apiv2.shiprocket.in/v1/external/courier/track/shipment/1559017361980" -H "accept: application/json"
is it possible ?
Jun 04, 2019 12:11 AM
Hi @Manish_Patell - you could definitely code something that pulls data from Shiprocket and then passes this to Airtable. Using the Airtable API you can create, update etc:
If you don’t want to code this directly, you could use something like Zapier (using the Zapier webhooks component) to poll the Shiprocket API and create or update AT:
(Same idea, just less coding).
JB
Jun 04, 2019 01:09 AM
Thanks @JonathanBowen, I didn’t knew it, leaning how to pull data from API.
Jun 17, 2022 07:11 AM
Hi @JonathanBowen,
I have a similar question: If I have data in the form of a JSON, could I pass it to AirTable using a POST request?
Jun 17, 2022 09:37 AM
Yes, you can use an Airtable webhook or you can use an external automation tool like Make.com.
Jun 19, 2022 01:18 AM
Yes, you can use a POST request to create a record in Airtable via the API. The JSON data you have will need to be mapped to the (JSON) format that Airtable is expecting. See the API documentation for your base for an example.