JotForm is an easy-to-use online form builder for every business. We can use the JotForm API to import data from JotForm into Google Sheets. In this tutorial, I’ll show you how to connect the JotForm API to Google Sheets in 5 steps:
To pull data from the JotForm API to Google Sheets, first install and open the Apipheny Google Sheets add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited APIs, save API requests, schedule API requests, and more.
1. Install Apipheny by opening the following link on desktop and then clicking the Install button on the page: https://apipheny.io/install
2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons or Extensions option in the top menu. In the add-ons menu, you should see Apipheny.
Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets:
After logging into your JotForm account, click the Account icon, then click your name:
Next, in the Account section, click the API item in the menu on the left:
In the API section, click the Create New Key button to generate an API key:
Your API key is now displayed on the screen. Copy and paste your key in a safe location because you’ll need it in the next steps:
In this section, we’ll show you how to browse the JotForm API documentation to find the JotForm API URL that retrieves the information you need from your JotForm account. If you already know your API URL and endpoint, or you want to use the same example URL as us, just skip to Step 4.
First, open the JotForm API documentation page: https://api.jotform.com/docs/#overview
The menu on the left contains an Overview section and a list of categories, each with its own endpoints:
For example, if we click the /user category, a list of its endpoints will be displayed on the screen:
An example endpoint is Get User Information endpoint, which gets user account details for the current JotForm user. These include user account type, avatar URL, name, email, website URL, and account limits. This is the whole URL for this endpoint:
If you use this URL, don’t forget to replace <api_key> with your API key.
The documentation for each endpoint contains its HTTP method and URL path, a short description of the endpoint’s purpose, an example request as a cURL command and its associated example response, as well as a table with the accepted parameters’ names, types and descriptions:
All API calls for JotForm should be made to the https://eu-api.jotform.com/ base domain if you are from Europe or to https://api.jotform.com/ if you are from the USA or from another country.
Now go back to your Google Sheet and make sure that the Apipheny add-on is open on the “Import” tab. With the Import tab open, enter these details into the add-on:
API URL: In Step 3, we explained how you can find the JotForm REST API endpoint that you need. Now copy and paste your complete JotForm API URL into the Apipheny add-on, where it says API URL Path, followed by any parameters required for your query (if applicable).
For this example, we are using the Get Form Details endpoint, which lists basic information about a form. This is what the whole URL looks like:
Don’t forget to replace <form_id> with a real form id from your account and <api_key> with the API key you previously obtained at Step 2. Do not include the brackets “< >” around those values.
Here’s what our API request looked like when entered into Apipheny (just the URL):
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the JotForm API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
After making a successful request to the JotForm API, try querying a different JotForm API endpoint, or try using one of the more advanced features in the Apipheny add-on, such as:
Constant Contact API
Facebook Graph API
Facebook Ads API
Google SERP API
Linkedin Ads API
Product Hunt API
Reddit Ads API
Riot Games API