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:
Apipheny is an API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to unlimited API data sources, make unlimited API requests, and more. There is a 30 day free trial included.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new
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:
https://eu-api.jotform.com/user?apiKey=API_KEY
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:
Method: At the top of the Apipheny sidebar, select the HTTP method (GET or POST) required by your API endpoint. For this example, we are using the GET method.
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:
https://eu-api.jotform.com/form/FORM_ID?apiKey=API_KEY
If you use this URL, 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.
Headers aren’t required. You can leave this section blank in Apipheny.
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:
That’s it! You’ve successfully connected your JotForm account to Google Sheets using the JotForm API, Google Sheets API, and the Apipheny add-on.
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.
Crypto API tutorials and more:
Sponsored by Zink Virtual Tip Jar & Rewording.io Paraphrasing Tool
Accept donations on Twitch | Accept donations on Discord | Accept donations on YouTube | Accept donations on Telegram | Accept donations on Twitter | Accept donations on TikTok | Accept donations on Instagram | Accept donations on LinkedIn | Accept donations on Facebook | Accept donations on your Website