The Jotform API makes it possible to connect to your form data without using the Jotform web site.
The Jotform API is written for Jotform users and 3rd party developers who would like to serve Jotform users. For example, Zapier uses the Jotform API to connect form submission data with other services.
Care to tell us how you would like to use Jotform API? Feel free to fill this form. We'd be happy to help you—we’ll even assign a developer to help you with your task!
You can access our API through the following URLs:
https://api.jotform.com
https://eu-api.jotform.com
https://hipaa-api.jotform.com
To get started using Jotform API you need a valid API key. Obtaining an API key is very simple.
Get started with the Jotform API by using an API library in the language of your choice. See libraries section for a complete list.
curl -X GET "https://api.jotform.com/user?apiKey={myApiKey}"
curl -X POST -d "webhookURL=http://my.webhook.url/connect-to-DB.ext" -d "apiKey={myApiKey}" "https://api.jotform.com/v1/form/{myFormID}/webhooks"
curl -H "APIKEY: {myApiKey}" "https://api.jotform.com/user"
<script src="https://js.jotform.com/JotForm.js"></script>
<script>
//JF.login(success, error) method takes two optional arguments
//Both arguments should be function
//First argument will be called after successful login
//Second argument will be called if authorization fails
JF.login(
function success(){
JF.getForms(function(response){
for(var i=0; i<response.length; i++){
document.write( "<li> " + response[i].title);
}
});
},
function error(){
window.alert("Could not authorize user");
}
);
</script>
var apiKey = JF.getAPIKey();
console.log(apiKey); //should log currently used API key
JF.initialize( {apiKey: "123456789"} );
Android : https://github.com/jotform/jotform-api-android - ZIP or Tarball
C# : https://github.com/jotform/jotform-api-csharp - ZIP or Tarball
GO : https://github.com/jotform/jotform-api-go - ZIP or Tarball
iOS : https://github.com/jotform/jotform-api-ios - ZIP or Tarball
Java : https://github.com/jotform/jotform-api-java - ZIP or Tarball
NodeJS : https://github.com/jotform/jotform-api-nodejs - ZIP or Tarball
PHP : https://github.com/jotform/jotform-api-php - ZIP or Tarball
Python : https://github.com/jotform/jotform-api-python - ZIP or Tarball
Ruby : https://github.com/jotform/jotform-api-ruby - ZIP or Tarball
Scala : https://github.com/jotform/jotform-api-scala - ZIP or Tarball
Simply download Jotform.php into your application path and include in your php file as:
include "../Jotform.php";
More info available on repository page at Github.
There is currently no package submitted to PyPi. You need to download and import jotform.py as follows.
from jotform import JotformAPIClient
More info available on repository page at Github.
Java client library is not available as a '.jar' file so you have to copy the folder structure of Jotform Java package into your project. Jotform API Java client uses Apache HTTP Client 4.2.5 and org.json packages. So in order to work with the api client you need to add them to your project.
First check out the git repository and add the following files into your src folder as:
/src/com/jotform/api/JotformAPIWrapper.java /src/com/jotform/api/JotformException.java /src/com/jotform/api/samples/GetTodaysSubmissions.java /src/com/jotform/api/samples/PrintFormList.java /src/org/json/JSONArray.java /src/org/json/JSONException.java /src/org/json/JSONObject.java /src/org/json/JSONString.java /src/org/json/JSONStringer.java /src/org/json/JSONTokener.java /src/org/json/JSONWriter.java
Then copy the contents of the /lib/ folder into your project with the same path.
/lib/commons-logging-1.1.1.jar /lib/httpclient-4.2.5.jar /lib/httpcore-4.2.4.jar
Then you will need to add these .jars into your buildpath. If you are using eclipse, you can simply right click on each jar file and click Build Path->Add To Build Path. If the jars are not visible in your project explorer even though you copied them into your lib/ folder, try right clicking on your project in Package Explorer and then clicking refresh.
More information available on repository page at Github.
Javascript Client Library Copy and paste the script below to your page<script src="https://js.jotform.com/JotForm.js"></script>NodeJS Client Library
npm install jotform
More information available on repository page at Github.