Get PDF submission

  • Profile Image
    cbertrand2198
    Asked on July 02, 2020 at 11:00 AM

    Hi I'd like to know if it's possible to make an API call to get a PDF submission?

  • Profile Image
    IvayloK
    Answered on July 02, 2020 at 01:54 PM

    There is no API endpoint for automatic PDF download or for retrieving the actual PDF file, but you can construct the PDF link manually through API. So, you can download the PDF file. 

    You can use the following URL 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

    You should just replace the bold text (SubmissionID and FormID) with the actual submission ID and form ID that you retrieved through API.

    You may also refer to our API documentation for further reference: https://api.jotform.com/docs