Help

Re: Is it possible to upload attachments?

Solved
Jump to Solution
12441 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Bryan_McBride
4 - Data Explorer
4 - Data Explorer

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!

38 Replies 38
Daniel_Nordby
4 - Data Explorer
4 - Data Explorer

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?

ssaunier
4 - Data Explorer
4 - Data Explorer

Hi everyone, would also be very interested of providing an URL to add attachments to a record through the API!

Jens_Franke
4 - Data Explorer
4 - Data Explorer

It would be awesome to upload attachments via APIs. There are so many use cases for this feature.

Nicholas_Ewing
5 - Automation Enthusiast
5 - Automation Enthusiast

I’d be really happy to see this as well. Any updates @Emmett_Nicholas?

raoulwegat
6 - Interface Innovator
6 - Interface Innovator

+1 from me too. Disappointed that three years after the initial request uploading attachments using the API is still not available.

Cloudinary is an awesome product that could be used for the file upload that then provides a URL to pull into airtable

nck_capo
4 - Data Explorer
4 - Data Explorer

it can technically be done using GraphQL…

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?”
}
}

@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.

Have you implemented this with cloudinary and it worked? Would like to try this route.