-
C_A_UAsked on September 15, 2025 at 2:02 PM
I cannot figure out how to have a PDF of the document passed into the payload. Thank you,
-
Podo: Support AI AgentReplied on September 15, 2025 at 2:03 PM
Hi David,
Thanks for reaching out to Jotform Support. I'm an AI assistant. I'll do my best to help you until someone from the support team is available.
To have a PDF of a signed agreement passed into the payload of a webhook on form completion, you can use Jotform Sign to create signable documents and then set up your webhook to include the signed PDF.
Here’s how to create a signable document with Jotform Sign:
- On your My Sign Documents page, click on Create Sign Document on the left side of the page.
- Click on Upload Document to upload your agreement PDF from your device.
- Drag and drop your document into the upload box or select it manually.
- After uploading, click on the Create Signable Document button.
- Choose to detect fields automatically or add them manually to prepare the document for signing.
Once your document is signed and completed, you can configure your webhook to include the signed PDF in the payload.
If you need detailed steps on setting up the webhook or further assistance with Jotform Sign, please let us know.
Give it a try and let us know how it goes.
-
C_A_UReplied on September 15, 2025 at 2:04 PM
It needs to be part of a form
-
Keenly JotForm SupportReplied on September 15, 2025 at 3:10 PM
Hi David,
Currently, it’s not possible to have the signed PDF agreement passed in the webhook payload when the form is submitted. An available option at the moment would be using Jotform API to fetch the submission PDF, though this is not the signed PDF agreement. You can use this URL template:
https://www.jotform.com/server.php?action=getSubmissionPDF&sid=Submission_ID&formID=Form_ID
Just make sure to replace Submission_ID with the actual submission ID and Form_ID with your actual form ID so you can programmatically fetch the PDF report via HTTP call using an automation tool like Make.com.
Thanks for your patience and understanding, we appreciate it.
-
C_A_UReplied on September 15, 2025 at 3:59 PM
Yeah that would be great. I tried doing that and I am getting a base64 response that I believe can't be decoded.
Here is what I'm sending:
(added the apikey) on the end.
And my return payload looks like this:
hydrate|||.eJxNUMtqwzAQ_BcdckodW3YkO2Da0vRh6CG0hUIvRpE2sRrbcvVICKH_3nWSQyUQ2tnZ2dk9EWl6D72v_XEAsiAVmRLdOy96CbVWiHzC-sWY3cNrdb-q7pIojlKGJBmcN11wYM-0gnIas2RKhJQmoN4FZMUFDL7BJloKr01_zvWhbadko6FVdS-6sbeCfb3RLaD67iDs1pHFiVx9XfEOfGNGV81RWeGNddHlB2_wE8B55KxDr5CMtcG2I9X7wS1ms8PhEH0bvzG2i6TpZmh9DzYamuFWyNFXuQX_Htaddg6j1fJp4rQqWZpyVqR5nuVZwfBlfDJqVMuSzvFyTnlO03heTMSgd3Asc1CiYEBzyrJCzVXME5oKqjiXMWR58n-O58cPDBsQCux53nGjN2KL28LsFyqCJb94_gBnBIqN:1uyFFz:1nAogCAqtLwEcoxdRhupenoPUAXT4Ig2UhPzgqm8q3o|||hydrate -
Jan JotForm SupportReplied on September 15, 2025 at 5:41 PM
Hi David,
Thanks for getting back to us. The hydrate response you’re seeing isn’t the PDF, it’s Jotform returning a login-protected page because the request isn’t being authenticated correctly. That’s why you’re getting an encoded hydrate|||…|||hydrate string instead of the actual file.
Make sure your API key (with Read Submissions permission) is included in the request. Here’s the correct URL format for your account:
https://www.jotform.com/server.php?action=getSubmissionPDF&sid=<SUBMISSION_ID>&formID=<FORM_ID>&apikey=<YOUR_API_KEY>
Also, to prevent the system from asking you to log in when accessing submission attachments, you can adjust your account privacy settings. We just need to disable the requirement to Login to View Uploaded Files. It's easy to do. Let me walk you through it:
1. Login to your Jotform account on your Desktop (it's not available yet on the Mobile App).
2. Click on your Avatar/Profile picture on the right side of the screen, and click on it.
3. In the dropdown, click on Settings, or click on this link to go directly to your Settings page.
4. Now, go to the Security tab and uncheck the box next to Require Login to View Uploaded Files under the Privacy section.
Give it a try and let us know if you need any other help.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!