can't authenticate with the jotform api package for python

  • merchandiser.smj
    Asked on December 8, 2020 at 5:07 AM

    with this code I get a status code 200 response:

    curl -X GET "https://api.jotform.com/user?apiKey={5bf8ca97ab4e96bd4bc8d00519da7f4f2}"


    with this code I get a status code 403 response:

    from jotform import *

    jotformAPI = JotformAPIClient('5bf8ca97ab4e96bd4bc8d00519da7f4f')

    userInfo = jotformAPI.get_user()

  • Rehan Support Team Lead
    Replied on December 8, 2020 at 5:45 AM

    Greetings,

    May I ask you what version of Python are you using?

    Have you checked the complete detailed Python API repository documentation on GitHub here? If no, please refer to it and if the issue still persists, do get back to us, or you can reach out to the API team via email api@jotform.com, or via this form.

    Let us know if you need further assistance.

    Thanks