Dec 18, 2015 09:00 AM
Looking over the API documentation, it appears that attachments require a url
key, so they must already be available on a web server. Is it possible to upload local files to Airtable via the API? I’d like to build my own form that POSTs to Airtable and uploads an image as an attachment, but it doesn’t look like this is currently possible. Am I missing something?
Thanks!
Solved! Go to Solution.
Nov 01, 2018 02:49 PM
As promised, my write up of my solution.
Airtable is an easy way to get a database up and running for a side project or to quickly prototype an idea for app. I have used it to manage track projects, expenses, client contacts and more.
Dec 18, 2015 10:09 AM
Right now this isn’t possible with the Airtable API alone. It’s something we’ll think about for future API versions though. A workaround for now is to use a different service (e.g. Filestack, imgur, etc.) to process the upload before then sending the url to Airtable. When Airtable processes the attachment, it will copy the file to Airtable’s own (S3) server for safekeeping, so it’s OK if the original uploaded file url is just temporary.
Dec 22, 2015 11:58 AM
Thanks for the clarification!
Jan 07, 2017 05:08 PM
+1 For uploading attachments via API. Once I learned this wasn’t possible, my whole world crumbled.
Jan 10, 2017 03:59 AM
+1, uploading files via URL is pain.
Feb 28, 2017 02:09 PM
+1, For uploading attachments via API!! would be so helpful…
Mar 05, 2017 04:12 PM
will you ever consider incorporating a CDN or will it always be S3? I’d like to be able to use Airtable to deploy inventory images to a website and am curious about benchmarks.
Jun 01, 2017 06:55 AM
+1. Does anyone know a service to temporary upload some images?
Aug 04, 2017 02:54 PM
Would also like to see this added to the API.
Feb 17, 2018 10:53 PM
What’s blocking this feature?
Mar 20, 2018 05:11 PM
Would also really love to see this…going to explore the Filestack/imgur route, but was not estimating that I’d need to for my current little project. :slightly_smiling_face: Presumably no update on this as of March 2018, correct @Emmett_Nicholas?
Mar 23, 2018 09:29 AM
Hi everyone, would also be very interested of providing an URL to add attachments to a record through the API!
Apr 22, 2018 08:52 AM
It would be awesome to upload attachments via APIs. There are so many use cases for this feature.
Sep 10, 2018 11:08 AM
I’d be really happy to see this as well. Any updates @Emmett_Nicholas?
Oct 04, 2018 05:17 AM
+1 from me too. Disappointed that three years after the initial request uploading attachments using the API is still not available.
Oct 04, 2018 07:21 AM
Cloudinary is an awesome product that could be used for the file upload that then provides a URL to pull into airtable
Oct 15, 2018 11:17 PM
it can technically be done using GraphQL…
Oct 16, 2018 05:37 AM
This is possible using api. Have a look on task create example
{
“fields”: {
“Truck_ID1”: [
“1232321321323123”
],
“Task_Type”: “Repairs (Parts & Labour)”,
“Images”: [
{
“url”: “image path”
},
{
“url”: “image path”
}
],
“Job Type”: [
“Order”
],
“Status”: “Client response?”
}
}
Oct 16, 2018 09:20 AM
@Kapil_dev - the question here is how to get a file directly uploaded into airtable (not just a link to a file hosted somewhere on the web). So, it would require an intermediary solution (like my suggestion of cloudinary) in order to upload the file first, then get the resulting url, then publish that url into airtable. But currently can’t get around that intermediary step.
Oct 30, 2018 09:22 AM
Have you implemented this with cloudinary and it worked? Would like to try this route.