Submit Form through API

  • Profile Image
    TechUniversities
    Asked on June 15, 2020 at 06:10 PM

    Hi Support Team,

    If I use API to submit data to a form, would the Auto Response and Email be triggered?

  • Profile Image
    TechUniversities
    Answered on June 15, 2020 at 07:17 PM

    Hi Support Team,

    I just used Postman and send a few tests. The request succeed, but the Auto email response and other integration (ie Google Drive and Google Sheet) don't work.

    Please give me some advice on this.

  • Profile Image
    gerardw
    Answered on June 15, 2020 at 10:43 PM

    Hello,

    If I use API to submit data to a form, would the Auto Response and Email be triggered?

    As far as I can see, email notifications and autoresponders are not triggered by submissions added through API.

    You can, however, fetch the email data through API https://api.jotform.com/docs/#form-id-properties and then create a script on your end that sends email on post submissions.

    I just used Postman and send a few tests. The request succeed, but the Auto email response and other integration (ie Google Drive and Google Sheet) don't work.

    If you are using Postman, you may need to setup webhooks integration on your form as explained here: How-to-Setup-a-Webhook-with-JotForm 

    You could also do it through our API: https://api.jotform.com/docs/, which shows how to get and post data in CURL example. However, if you need further help, please contact our developers at api@jotform.com.

  • Profile Image
    TechUniversities
    Answered on June 16, 2020 at 12:03 PM

    Hi,

    If I use API to send submissions to the form, I would like the Google Sheets and Google Drive that are built in within Jotform to be triggered. Basically, I would like the Integration to work the same as someone submits the form manually.

    Is it possible? Please let me know if you need more clarifications.

  • Profile Image
    KrisLei
    Answered on June 16, 2020 at 02:25 PM

    Hi,

    You may try integrating your form to Google Sheets and Google Drive, while you can also receive submissions via API.

    In any case that you are not receiving or the records are not updating in any of the integration I suggest contacting the API team at api@jotform.com and they should be able to further assist you further.

    Thank you.