How to Integrate with FormSmarts API
The Event Notification API allows you to have FormSmarts send a machine processable ‘push’ notification message to a script on your website (or for that matter to any URL) to process the information that has just been submitted through one of your online forms. You can use the Event API (a.k.a. Web Hooks) to integrate FormSmarts with your database, website or any online service or application.
How to Integrate
Whereas this feature is mainly targeted at developers, creating a script that does something useful with the data received from FormSmarts is actually not difficult. The API is fully documented with examples in PHP.
- You first need to create a program/script to process form data and upload it to your web server. Data is sent in JSON format, which is supported natively by all modern programming languages.
- Then register the script’s URL with FromSmarts
- Whenever a form is submitted, FormSmarts will send the data submitted through the form as well as other data pertaining to the form response (e.g. payment information if the form involves a payment) to the URL you have registered.
Have a Great Idea?
If you have a great idea about how you could use FormSmarts API, let us know: we have several Business Starter subscriptions to give away.
Posted by FormSmarts on
May 31, 2012 at 12:51 pm in form builder.
Permalink
· Comment
Tags: API, automation, business, howto, payment integration
2 Responses to “How to Integrate with FormSmarts API”
Can I use the FormSmarts API to link my forms to an autoresponder so that customers receive an automated email when submitting an order?
Yes, you can easily use the Event API to send an email/integrate with an auto responder script on your own server or through a third party provider. Make sure you authenticate HTTP requests as documented in this page to avoid creating an open relay that could be exploited by spammers. If have a specific question or need advice, please let us know.
Leave a Reply
About the Form Builder Blog
Categories
- booking (1)
- collaboration (6)
- event registration (3)
- file upload (2)
- form builder (52)
- form handler (9)
- form spam (5)
- HTML form (11)
- mobile form (1)
- online form (10)
- payment form (14)