API integration assistance

  • anthony879
    Asked on May 23, 2024 at 6:35 AM

    Hi

    We are desperately trying to use the API aspects of the system and we have 2 questions I would need answered in order to progress the API integration.


    1. Is there a cURL version of this API method
    2. https://github.com/jotform/api-use-cases/tree/master/populate-fields
    3. Can documents be base64 encoded before being attached to a web hook?


    Can we have an answer to the above at the earliest opportunity. At current we are making do with the system but limited to how we can use this.

    Please let me know if you need more information.

  • Cecilia JotForm Support
    Replied on May 23, 2024 at 7:39 AM

    Hi Anthony,

    Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can. Thanks for your patience.



  • Cecilia JotForm Support
    Replied on May 23, 2024 at 8:00 AM

    Hi Anthony,

    Thanks for your patience. You can find all the available methods in our API Documentation. If you need to encode documents to base64, you'll have to implement your own logic, as this feature is not natively supported. By default, a link to the file will be sent.

    Reach out again if you need any more help.

  • Anthony Doran
    Replied on May 23, 2024 at 8:10 AM

    Hi Cecilia

    To your knowledge is there a cURL version of this API method ?

    If you could help answer this that would be helpful. My CRM provider did review the API Documentation and the question stemmed from that.


  • Ravi JotForm Support
    Replied on May 23, 2024 at 8:52 AM

    Hi Anthony,

    Thanks for getting back to us. Please allow me some time to check this with the relevant team. I’ll get back to you as soon as I receive a response from them.

    We appreciate your patience and understanding while we’re looking into this.

  • Ravi JotForm Support
    Replied on May 27, 2024 at 2:10 AM

    Hi Anthony,

    Thanks for your patience and understanding, we appreciate it. Yes, Jotform provides an API that can be accessed using cURL. Here’s an example of how you can use cURL to interact with the Jotform API.

    Example: Getting Form Submissions

    To get submissions for a specific form, they can use the following cURL command:

    curl -X GET "https://api.jotform.com/form/{formID}/submissions?apiKey={apiKey}"

    Replace {formID} with the ID of the form, and {apiKey} with the Jotform API key.

    You can also check out our Jotform API documentation to get the API URL for other use cases.

    Reach out again if you need any other help.