-
sash_formAsked on April 16, 2024 at 9:53 PM
Hi,
We have Webhook working which is great. Once a user submits a form, it send data to our endpoint. However, would it be possible to populate the PDF/field of the form via API? For example, once a user submits a form, it sends data to our endpoint and we send something back (e.g generated ID) and populates that on the PDF?
Regards,
Duc
-
Raymond JotForm SupportReplied on April 17, 2024 at 2:40 AM
Hi Duc,
Thanks for reaching out to Jotform Support. With Jotform API, it's possible to edit a submission so the changes will reflect automatically in the generated PDF. You can use the sample code below:
curl -X POST -d "submission[1_first]=Johny" -d "submission[new]=1" -d "submission[flag]=0" "https://api.jotform.com/submission/{submissionID}?apiKey={apiKey}"
We also have our API documentation that you can check out.
Reach out again if you need any help.