Creating a form submission using the Jotform API

  • Profile Image
    Asked on February 09, 2018 at 02:13 PM

    Hello, we are trying to create a new Jotform submission using Python and the Jotform API. I used pip to install the Jotform module and then created an API Key for our account. 

    Here is my python code so far:

    from jotform import *

    jotformAPIClient = JotformAPIClient(JOTFORM_API_KEY)

    forms = jotformAPIClient.get_forms()

    for form in forms:

        if form["title"] == "TEST-FORM":

            done = jotformAPIClient.create_form_submissions(form['id'],{"1":"Jim", "2":"Fay"})

    I keep getting a TypeError: unhashable type error. Can you confirm that first argument should indeed be the form['id'] field? And how do you format the second argument which according to the file should be an array?

    I am using Python 2.7.



  • Profile Image
    Answered on February 09, 2018 at 03:03 PM

    For API related questions, please contact our API team at