# Download files via API

**URL:** <https://forum.bubble.io/t/download-files-via-api/266186>\
**Category:** APIs\
**Created:** [June 5, 2023, 1:48pm UTC](https://forum.bubble.io/t/download-files-via-api/266186 "2023-06-05T13:48:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon33213723](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@anon33213723](https://forum.bubble.io/u/anon33213723)\
**Post date:** [June 5, 2023, 1:48pm UTC](https://forum.bubble.io/t/download-files-via-api/266186/1 "2023-06-05T13:48:59Z")

</div>

I’ve connected to an API that returns a file download as a response (with the correct headers), however this download isn’t shown to the client end user. For some reason it is saved to the [bubble.io](http://bubble.io) file manager instead!

Can anyone please advise on how this file can be directly downloaded by the end user when the API request button is run by the user?

---

<div class="post-metadata">

**Author:** ![maheshkasindi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/maheshkasindi/32/166723_2.png) [@maheshkasindi](https://forum.bubble.io/u/maheshkasindi)\
**Post date:** [June 5, 2023, 2:45pm UTC](https://forum.bubble.io/t/download-files-via-api/266186/2 "2023-06-05T14:45:26Z")

</div>

How does the API req workflow look like?

---

<div class="post-metadata">

**Author:** ![123geds](https://avatars.discourse-cdn.com/v4/letter/1/5f9b8f/32.png) [@123geds](https://forum.bubble.io/u/123geds)\
**Post date:** [February 28, 2024, 8:03pm UTC](https://forum.bubble.io/t/download-files-via-api/266186/3 "2024-02-28T20:03:40Z")

</div>

did you figure this out please? I’m having same issue

---

<div class="post-metadata">

**Author:** ![osamabisho77](https://avatars.discourse-cdn.com/v4/letter/o/7cd45c/32.png) [@osamabisho77](https://forum.bubble.io/u/osamabisho77)\
**Post date:** [July 21, 2024, 12:59am UTC](https://forum.bubble.io/t/download-files-via-api/266186/4 "2024-07-21T00:59:12Z")

</div>

you can make the api call as an action and call it in your workflow then you can use [file downloader plugin](https://bubble.io/plugin/file-downloader-1539124824422x194279356396994560) to download your file
