# Can you update an Image column via the API?

**URL:** <https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576>\
**Category:** Developers Central\
**Created:** [August 4, 2019, 7:00am UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576 "2019-08-04T07:00:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikhail\_Gordin](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mikhail_gordin/32/9166_2.png) [@Mikhail\_Gordin](https://connect.superhuman.com/u/Mikhail_Gordin)\
**Post date:** [August 4, 2019, 7:00am UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/1 "2019-08-04T07:00:45Z")

</div>

As it says in the title - is it possible to use the API to create/update the value of an Image column in a table? I see that the examples show just passing text values.

**Context:**

I’m considering migrating something I currently use Tiddlywiki for to Coda. One thing this would involve is copying over around 700 pages, all of which have the same standard fields and contain some images, into a Coda table. Obviously, this isn’t something I want to do by hand.

It looks like the Coda API allows you to create and update table rows, so it seems like that should work well for transferring all the field values. However, I can’t tell if it’s possible to also update the Image an column with the images that are in those pages.

Alternately, if anybody has a suggestion on some other way to mass-update stuff like this, I’d be interested. Thanks!

---

<div class="post-metadata">

**Author:** ![oleg](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/oleg/32/6671_2.png) [@oleg](https://connect.superhuman.com/u/oleg)\
**Post date:** [August 5, 2019, 7:14am UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/2 "2019-08-05T07:14:24Z")

</div>

Hi @Mikhail_Gordin, unfortunately image columns are not supported in the API at this time, though we do have that on our backlog.

One workaround I’d suggest for now is to upload and host your images to a third-party service (or wherever they currently are hosted) and then use the Image URL column format to auto display those URLs as pictures within Coda. If you do want them hosted within Coda then manually copy/pasting is your best bet, though maybe you could write a Tampermonkey script to automate that.

---

<div class="post-metadata">

**Author:** ![Ronen\_Mayer](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/ronen_mayer/32/7566_2.png) [@Ronen\_Mayer](https://connect.superhuman.com/u/Ronen_Mayer)\
**Post date:** [August 5, 2019, 5:17pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/3 "2019-08-05T17:17:20Z")

</div>

Hey @oleg  
Copy&paste doesn’t really work for images.  
Only direct upload or drag&drop in table view.  
Poor perfornance for attachments.

---

<div class="post-metadata">

**Author:** ![oleg](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/oleg/32/6671_2.png) [@oleg](https://connect.superhuman.com/u/oleg)\
**Post date:** [August 5, 2019, 6:20pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/4 "2019-08-05T18:20:35Z")

</div>

Copy-paste should work if you copy the entire file to your clipboard, though you’d have to paste in one by one:

 ![](https://cl.ly/b495a1937b64/Screen%20Recording%202019-08-05%20at%2011.19%20AM.gif)

---

<div class="post-metadata">

**Author:** ![GJ\_Roelofs](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/gj_roelofs/32/9171_2.png) [@GJ\_Roelofs](https://connect.superhuman.com/u/GJ_Roelofs)\
**Post date:** [August 5, 2019, 8:37pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/5 "2019-08-05T20:37:20Z")

</div>

I can confirm that pasting into a table cell, or in detailed view on the image cell (ctrl-v, Windows 10) doesn’t work for me either, both by copying a file or by trying to paste from the snippet tool.  
Dragging and dropping a file works, but ideally I’d be able to copy paste.

Is it possible, somehow (natively, Zapier or Hotkey) to:

- Have paste attempts be caught on rows or cards and auto uploaded to the images cell?
- Paste into the rich text field if an images column exists and have the image be uploaded to the image cell, while an insert is placed into the rich text? (Much like this forum allows)

---

<div class="post-metadata">

**Author:** ![oleg](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/oleg/32/6671_2.png) [@oleg](https://connect.superhuman.com/u/oleg)\
**Post date:** [August 5, 2019, 10:04pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/6 "2019-08-05T22:04:50Z")

</div>

It’s very much possible there’s a bug on Windows that’s preventing paste from working 😅 - I reported it so we look into it.

As for your second point, I can totally see how it’d be useful to support uploading images into rich text within cells, though sadly cells only offer a limited number of formatting options at this time (for example, you can’t insert a table into a table cell). What you can do, however, is use a `Concatenate()` formula to combine multiple cells together, including ones containing rich text and images.

---

<div class="post-metadata">

**Author:** ![Max\_Pauwels](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/max_pauwels/32/14107_2.png) [@Max\_Pauwels](https://connect.superhuman.com/u/Max_Pauwels)\
**Post date:** [November 15, 2020, 2:22pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/7 "2020-11-15T14:22:28Z")

</div>

Hi Oleg! Is the current version of the API supporting image uploads through the API?

---

<div class="post-metadata">

**Author:** ![oleg](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/oleg/32/6671_2.png) [@oleg](https://connect.superhuman.com/u/oleg)\
**Post date:** [November 17, 2020, 8:43pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/8 "2020-11-17T20:43:10Z")

</div>

Hi @Max_Pauwels, we keep our [API documentation](https://coda.io/developers/apis/v1) up to date. Image uploads through the API are still not supported and we just haven’t had enough requests for that to prioritize vs. other work such as [non-image attachments](https://connect.superhuman.com/t/beta-attachments/18693). Your best bet is to still follow the earlier workaround of using another service to upload the image to, and include a URL to it within Coda / your API payload.

---

<div class="post-metadata">

**Author:** ![Tony\_Xiao1](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/tony_xiao1/32/33681_2.png) [@Tony\_Xiao1](https://connect.superhuman.com/u/Tony_Xiao1)\
**Post date:** [April 15, 2023, 9:31pm UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/9 "2023-04-15T21:31:45Z")

</div>

Are there better solutions to this nowadays? I see that pack tables do support returning image attachments into Coda.

---

<div class="post-metadata">

**Author:** ![oleg](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/oleg/32/6671_2.png) [@oleg](https://connect.superhuman.com/u/oleg)\
**Post date:** [May 23, 2023, 3:09am UTC](https://connect.superhuman.com/t/can-you-update-an-image-column-via-the-api/9576/10 "2023-05-23T03:09:46Z")

</div>

Cross posting: [How to upload/download images from table with Coda API? - #5 by oleg](https://connect.superhuman.com/t/how-to-upload-download-images-from-table-with-coda-api/18641/5)
