My Submission HTTP Post via API is getting bad request

  • Profile Image
    Asked on May 06, 2015 at 02:51 PM


    I put my own UI on the similar input for my Jotform from this : page.


    Once you enter some values inside the popup box, i initially wanted to make it to be POSTED into my JOTFORM. But seems not working . I ended up getting this error message:


    {"responseCode":400,"message":"Bad request (\/form-id-submissions) - Submissions couldn't inserted","info":"http:\/\/\/docs#form-id-submissions","limit-left":9997,"duration":"11ms"}

    What should I do to make it works?

  • Profile Image
    Answered on May 06, 2015 at 04:32 PM

    To be able to submit the data in this way, you will need to use correct question IDs as names for your inputs.

    You can get the information about form question IDs with:

    Then, modify your code to use them in the following way.

    For example, Email field on your form has qid: "5", so the code will be:


    Note, API post submissions do not trigger form email notification(s). Also, showing API key in your page sources might not be secure.

    We also provide a source code option, so the code can be modified and used for regular non-api submissions.

    If you need any further assistance, please let us know.

  • Profile Image
    Answered on May 06, 2015 at 08:17 PM

    but I already put the "submission[id]" to each specific inputs form.


    And the error I obtained still there, what did I forgot to put for?


    Posing an API KEY is a risk? Well.... if you say so,

    then i would try to use your source-code option then.

  • Profile Image
    Answered on May 07, 2015 at 12:17 AM

    Please let us know if you need further assistance.