- VictorAsked on July 16, 2015 at 12:44 PM
I want to create some forms here, but want to send the submitted information to a website via their API.. is that possible? how?
- JotForm SupportMike_GAnswered on July 16, 2015 at 02:48 PM
This is possible. You can use any of the following options.
I hope this helps. Should you have any further questions, please feel free to let us know and we will be glad to help you any time. Thank you.
- VictorAnswered on July 16, 2015 at 05:43 PM
Thank you for responding, however I don't think any of those suggestions really help me.
What I want to do is create a jotform, then post each of the fields in my form to an external API.
Not to a php or any other webpage, not to another jotform, no webhooks, just a REST API call. The Api link you listed is the API jotform, I meant another website API from a jotform.
- BorisAnswered on July 16, 2015 at 09:13 PM
You cannot create custom API calls directly from the JotForm forms. You would have to follow the recommendation that my colleague Mike has provided, and set up a custom PHP Thank You page to receive the data from JotForm, and make your own API call to the external service from that PHP page.
Please take a look at the guide on Sending-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page. You will then use this data in your custom script to perform the custom function that you are after (your API call), in a manner similar to how-we-can-send-Submissions-to-Your-MySQL-Database-Using-PHP.
I hope this helps.
- VictorAnswered on July 16, 2015 at 09:34 PM
Mike and Boris,
Thank you both for your help.
It is clear now.
- JotForm SupportChriistianAnswered on July 17, 2015 at 02:43 AM
On behalf of my colleagues, Mike and Boris, you are welcome. Please feel free to contact us again if you have any other questions.