How can I export Submissions as PDF with the new PDF tool as getSubmissionPDF link?

  • reneincer
    Asked on October 16, 2018 at 12:52 PM

    Hi there,

    We have been using https://www.jotform.com/server.php?action=getSubmissionPDF&sid=XXXXXXXXXXXX link to export submission to PDF from our systems in order to attach submissions to our records

    With new tool we are not able to use it because instead of download the file It returns 200 response with json text: {"message":"Operation Completed","success":true,"duration":"6.362"}

    Do you have a new exporter link or an api endpoint to achieve this?

     

    Thanks!

  • Aytekin JotForm Founder
    Replied on October 16, 2018 at 2:38 PM

    Here is a new URL to access it manually:

    https://www.jotform.com/pdf-editor/{form-id}?submission={submission-id}


    As I understand it you need to download it in an automated way. I opened a ticket about this so that this URL still works with the download for the new PDF Editor. 


  • asil Jotform Support
    Replied on October 17, 2018 at 9:42 AM

    Hello reneincer,

    You may access your PDFs with new design using following url scheme:

    https://www.jotform.com/server.php?action=getSubmissionPDF&sid=XXXXXXXXXXX&direct=1

    Thank you.