What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Accessing a pdf rendition of the form utilizing the API

    Asked by pjharrington62 on July 31, 2017 at 02:05 PM

    Hello,

     

    We are currently evaluating jotform to integrate with our content management solution.  The one requirement that we have not been able to confirm is being able to get the rendition of the form in a PDF format using the API.  The "Get" on the submission resource does not appear to support the ability to retrieve it as a PDF.  There does appear to be a url (http://www.jotform.com/pdf-submission/{id}) that does download the file but it appears that it only works when there is an active session.  Any help would be appreciated.

     

  • Profile Image
    JotForm Support

    Answered by Kiran on July 31, 2017 at 04:19 PM

    I am not sure if I understand your query correctly. Do you want to generate the PDF submission report using API? I don't this it is possible using API. The link that you have provided is to generate the PDF submission report using the existing submission ID of the form.

    Let us know if you are referring something different. We will be happy to assist you further. 

  • Profile Image
    JotForm Support

    Answered by Mike on July 31, 2017 at 09:59 PM

    Kiran,

    Thank you for your response, yes I was inquiring if you can generate the PDF report using the API. If I understand, you do not believe the API supports the generation of a PDF report.  So if I am clear the only means to get a PDF of the submission is via a link that includes the transmission ID such as https://www.jotform.com/server.php?action=getSubmissionPDF&sid=37734639099873262XX&formID=720875539441XX.  

    Is it also true that if the "Require Log-in to see submissions" is checked in the privacy settings the user will have to login to Jotform before viewing the PDF.  If this setting is not checked the rendition is publicly accessible.

    You are right, when the 'Require log-in to see submissions.' option is enabled the Submission PDF link will not work without authentication.

    https://www.jotform.com/server.php?action=getSubmissionPDF&sid=37734639099873262XX&formID=720875539441XX

    For API related questions you may contact our API Team at api@jotform.com.

    We also have an option to email Submission PDFs as attachments.