JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Webhooks to JotformAsked by Federico on February 10, 2016 at 06:33 PM
I have an external tool which generate submissions. It send them by POST data to a php file. Is there a way to uploads those leads into one of my forms in Jotforms?
Thank you very much!!!
JotForm My Forms Submissions POST uploads post data
If I understand correctly, you want to add submission to your form? I believe this documentation can help you with sending a generated submission to a form in jotform. http://api.jotform.com/docs/#post-form-id-submissions
Do let us know if you need further assistance.
By the way, if your data is in CSV or Excel format, you can import it directly to your form. Just check this guide for more information: Import App Easily import your Excel or CSV data into JotForm.
Hi, thank you very much for the reply.
This is how I made it work:
$jotformAPI = new JotForm($apiKey);
$submission = array(
// First submission
"3" => array(
"text" => "este es el nombre",
"4" => array(
"text" => "firstname.lastname@example.org",
"5" => array(
"text" => "este es el telefono",
"8" => array(
"text" => "esto es un comentario",
"9" => array(
"text" => "vienen del chat",
$data = json_encode($submission);
$response = $jotformAPI->createFormSubmissions($formId, $data);
I am glad to know that you were able to make it work. Let us know if you need further assistance.