# Rest API multi file upload

**URL:** <https://community.gravityforms.com/t/rest-api-multi-file-upload/11697>\
**Category:** Get Help\
**Tags:** custom, multi-file-uploads, rest-api\
**Created:** [January 24, 2022, 11:42am UTC](https://community.gravityforms.com/t/rest-api-multi-file-upload/11697 "2022-01-24T11:42:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TankenBak](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@TankenBak](https://community.gravityforms.com/u/TankenBak)\
**Post date:** [January 24, 2022, 11:42am UTC](https://community.gravityforms.com/t/rest-api-multi-file-upload/11697/1 "2022-01-24T11:42:35Z")

</div>

Hi,  
As far as I understand the muli-file uplaod for rest api is still not done.  
I found the post from 2019 [Upload a File to Gravity Forms Via Rest API - #9 by rorymheaney](https://community.gravityforms.com/t/upload-a-file-to-gravity-forms-via-rest-api/2962/9) about it. And I saw replay from 2021.

So I’m asking if is there any one who was able to do it by some tricky way?  
There is no problem with single field, so why not support multi field?  
Just send them as a array like `field_x[]` or just as multiple `field_x` … ?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 24, 2022, 9:23pm UTC](https://community.gravityforms.com/t/rest-api-multi-file-upload/11697/2 "2022-01-24T21:23:36Z")

</div>

As you know, at this time, this is not possible. I saw that you or someone from your organization suggested this feature to our product development team. But I’ll leave this open in case someone has a unique workaround. Thank you.

---

<div class="post-metadata">

**Author:** ![TankenBak](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@TankenBak](https://community.gravityforms.com/u/TankenBak)\
**Post date:** [January 25, 2022, 6:10pm UTC](https://community.gravityforms.com/t/rest-api-multi-file-upload/11697/3 "2022-01-25T18:10:09Z")

</div>

Hi, thanks for the replay.

It is a bit strange why multi file is still not supported since front-end node solution are more and more common.

In standard client side solution is easy, I can get gravity form simple ajax reqest and returning graivty form html (function **gravity\_form** (…)), and almost all things just work. But in that case I can’t do it due to cross origin, gf iframe things etc, and I dont like to add jQuery just for this one case 🙂 I’m using this solution since about 2017, and this still works, if some one is interested I can share it. (example:  
[Rapportskjema - Norsk Musikkforleggerforening](https://musikkforleggerne.no/tilskudd/rapportskjema))

Any help from anyone would be nice in that case.  
I’ll alos look into GF code how current single file upload works, maybe some hooks or something can be done to make it work. So if some one have any idea/clue where should I start, it would be helpfull too.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [February 24, 2022, 6:10pm UTC](https://community.gravityforms.com/t/rest-api-multi-file-upload/11697/4 "2022-02-24T18:10:27Z")

</div>

Closed on February 24, 2022, 6:10pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
