-
Pane_ThomasAsked on March 23, 2021 at 1:29 PM
After creating a submission via API, I need to get a copy of the PDF back to my server. I reached out to support a while ago and they told me to use this URL:
https://www.jotform.com/server.php?action=getSubmissionPDF&sid=SubmissionID&formID=FormID
This seems to be working for me, except it is returning a newly generated PDF instead of the original that was uploaded. Is there a URL to download the original like so:
-
Yuta_JReplied on March 23, 2021 at 8:27 PM
Hello,
Thank you for reaching out to us. Please allow me a little time to look into this and will get back to you shortly.
Please let us know if you have any other questions.
-
Yuta_JReplied on March 23, 2021 at 8:53 PM
Hello again,
Thank you for waiting for me. Please kindly try out the following link to see if you can get PDF files without generating new PDFs. Please try out on your end and let us know if you have any questions.
Please let us know if you require further assistance.
-
Pane_ThomasReplied on March 24, 2021 at 11:27 AM
It looks like this will work for us. Is there an API endpoint I can call to determine if a form was created using a PDF upload or not?
-
Yuta_JReplied on March 24, 2021 at 1:07 PM
Hello,
I've checked API Documentation and it seems there is no instruction mentioning this. For further enquiry on API related issues, please contact our API team for the support. api@jotform.com
Guides:
Please let us know if you require further assistance.
-
Pane_ThomasReplied on March 24, 2021 at 1:22 PM
Yeah I didn't see anything in the API documentation either, but then again the endpoint wasn't in the API documentation either:
https://api.jotform.com/pdf-converter/{formId}/fill-pdf?download=1&submissionID={sumissionID}&apikey={apiKey} -
Yuta_JReplied on March 24, 2021 at 3:25 PM
Hello again,
Please kindly reach out to API team to see if they could assist you on this. We seem not to have knowledgebase available for this at the moment. api@jotform.com
Please let us know if you require further assistance.