How can I download PDF file via API?

  • Angel Baena
    Answered on January 26, 2023 04:53 PM

    I am using Make integration to retrieve submission data, how can I download PDF file via API?
    Thank you

  • Kris JotForm Support
    Answered on January 27, 2023 01:17 AM

    Hello Angel,

    Thank you for reaching out to the Jotform Support team. We do not have an API endpoint to download the PDFs automatically or retrieve the actual PDF files, but you can construct the PDF link manually via API so that you can download the PDF files. Please use the URL below to download the PDF file.

    https://www.jotform.com/server.php?action=getSubmissionPDF&sid=SubmissionID&formID=FormID

    Or

    https://www.jotform.com/pdf-submission/SubmissionID

    Make sure to replace the SubmissionID and FormID (bolded) with the actual submission ID and form ID you retrieved through API. Alternatively, you can use the direct integration to Google Drive or Dropbox to pass the PDF submission to an external storage. If that's not exactly what you're looking for, can you explain a bit more so I can help you better? Once we hear back from you, we'll be able to help you with this.