# Getting File through Jotform URL

**URL:** <https://community.make.com/t/getting-file-through-jotform-url/30651>\
**Category:** Questions\
**Tags:** jotform, http\
**Created:** [March 15, 2024, 9:51pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651 "2024-03-15T21:51:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Vance](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@Allen\_Vance](https://community.make.com/u/Allen_Vance)\
**Post date:** [March 15, 2024, 9:51pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/1 "2024-03-15T21:51:14Z")

</div>

I looked at another post on this subject but my error is different. When I use HTTP to get a file from a Jotform submission, I get “Invalid URL.”

The URL looks like this \* \* \* \* \*

[https://www.jotform.com/uploads/Operations/23564460796061/5863470516427096980/sales%20label.pdf](https://www.jotform.com/uploads/Operations/23564460796061/5863470516427096980/sales%20label.pdf)

If I click that link (while I’m logged in) the file downloads no problem. If I try to put the API key in the headers it just says Invalid URL.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [March 16, 2024, 9:03am UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/2 "2024-03-16T09:03:05Z")

</div>

Does Jotform have a dedicated download file module? If yes you should be using that

---

<div class="post-metadata">

**Author:** ![Allen\_Vance](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@Allen\_Vance](https://community.make.com/u/Allen_Vance)\
**Post date:** [March 18, 2024, 9:21pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/3 "2024-03-18T21:21:30Z")

</div>

Not to my knowledge, but does the URL, on its face, look malformed or otherwise invalid somehow?

---

<div class="post-metadata">

**Author:** ![NolaDigital](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/noladigital/32/226_2.png) [@NolaDigital](https://community.make.com/u/NolaDigital)\
**Post date:** [March 18, 2024, 9:34pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/4 "2024-03-18T21:34:27Z")

</div>

The URL itself looks fine, but of course, if you’re not properly authenticated, you don’t have access to the form submission (or its data).

According to the API docs of Jotform though, you can get this with an [API call:](https://api.jotform.com/docs/#form-id-files)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/d/fd19246c3822ff88f081a405bcc88f3c3d268c98.png)

I don’t have Jotform myself, but I can imagine it will look something like this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/6/0685619b6b5793e22a2ffd01affd590a75104cbc.png)

You might be able to also feed it the form submission ID (the above just takes the form ID I took from your URL), to get the specific one with a file.

---

<div class="post-metadata">

**Author:** ![Allen\_Vance](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@Allen\_Vance](https://community.make.com/u/Allen_Vance)\
**Post date:** [March 18, 2024, 9:42pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/5 "2024-03-18T21:42:50Z")

</div>

It’s not really a thing. [Use API to download PDFs](https://www.jotform.com/answers/4988824-use-api-to-download-pdfs)

The call above gets a list of files. To get an actual file I have to use a URL, which is what I’m trying to do using [Make.com](http://Make.com).

If I put in the API URL or the URL type I posted above into my browser, the file immediately downloads; why can’t make’s HTTP module ingest it? Instead I get a 404…

---

<div class="post-metadata">

**Author:** ![NolaDigital](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/noladigital/32/226_2.png) [@NolaDigital](https://community.make.com/u/NolaDigital)\
**Post date:** [March 19, 2024, 10:39am UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/6 "2024-03-19T10:39:05Z")

</div>

Hey @Allen_Vance,

I just wanted to make sure I’m understanding things right 🙂

Are you looking to:

1. Download the attached files a person upload via the form
2. Or download a PDF version of the submitted form

In case of 1. that API call above should work fine.

In case of 2. it’s a bit more tricky, since there isn’t a direct API call to do this. However, I made a jotform account myself and messed around with it a bit. And found a “hidden” call their frontend was using.

I got it to work with the following setup:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/7/476bf5ef194ad6ac5ceea421ad18cce3cdd563c5.png)

So **first** I feed the `Get a file` module my file. The URL I’m telling it to get is the following one:  
`https://eu.jotform.com/uploads/Nola/24078 ****369/586651884*** 103/586651 ****59103.pdf?ufs=jotformpdfs&apiKey=04a5db0******* 7dc5d6` (redacted a bit ofcourse 😉 )

So in your case, this should become something like this:  
`https://www.jotform.com/uploads/Operations/23564460796061/5863470516427096980/sales%20label.pdf?ufs=jotformpdfs&apiKey=ADDYOURAPIKEYHERE`

This gets the file properly downloaded to the scenario:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/4/4472e77a617b633a4ba852d1302031e885ba9878.png)

I can then map this to any other module (like the mail module) and send it via email to someone.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/d/2da76427a3b91067332965735b0bf8ff47625196.png)

And this sends the PDF via the attachments:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/9/a952aec6df5a62fecaae4831c921ae94703dd21a.png)

Hope this helps!

Thomas - [Nola Digital](https://noladigital.co)

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [March 19, 2024, 1:05pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/7 "2024-03-19T13:05:40Z")

</div>

Hi @Allen_Vance

You need to turn off “Require log-in to view uploaded files” button in jotform settings. and then you can directly pass this url in http module. You don’t need to use any authentication.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/c/3ca435668a8c3f4ddaecd381fee3362e3819da38.png)

If you require additional assistance, please don’t hesitate to reach out to us.  
[MSquare Support](https://calendly.com/msquarepro/meeting)  
Visit us [here](https://www.msquare.pro/)  
[Youtube Channel](https://www.youtube.com/channel/UCqidlIIwbejxZmRUWBICcjQ)

---

<div class="post-metadata">

**Author:** ![Allen\_Vance](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@Allen\_Vance](https://community.make.com/u/Allen_Vance)\
**Post date:** [March 26, 2024, 6:22pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/8 "2024-03-26T18:22:09Z")

</div>

I can’t do that, as the files contain sensitive PII.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [June 24, 2024, 5:34pm UTC](https://community.make.com/t/getting-file-through-jotform-url/30651/9 "2024-06-24T17:34:02Z")

</div>


