Connecting the JotForm API to Google Sheets

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:

  1. Install the Apipheny add-on
  2. Obtain an API key
  3. Choose a JotForm Endpoint
  4. Enter your JotForm API request into Apipheny
  5. Run the JotForm API request in your Google Sheet

Step 1.) Install and open the Apipheny add-on for Google Sheets

Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.

1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace:

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.

open apipheny

Tip: you can open a new Google Sheet by entering this URL in your browser:

Step 2.) Obtain an API key

After logging into your JotForm account, click the Account icon, then click your name:

JotForm dashboard
JotForm dashboard

Next, in the Account section, click the API item in the menu on the left:

JotForm API section
JotForm API section

In the API section, click the Create New Key button to generate an API key:

Generate an API key
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:

API Keys section
API Keys section

Step 3.) Choose a JotForm API Endpoint

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:

The menu on the left contains an Overview section and a list of categories, each with its own endpoints:

JotForm documentation page
JotForm documentation page

For example, if we click the /user category, a list of its endpoints will be displayed on the screen:

The User category page
The User category page

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:

Get User endpoint documentation page
Get User endpoint documentation page

All API calls for JotForm should be made to the base domain if you are from Europe, or to if you are from the USA or from another country.

Step 4.) Enter your JotForm API request into Apipheny

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:

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):

JotForm API request entered into Apipheny
JotForm API request entered into Apipheny

Step 5.) Run the JotForm API request in your Google Sheet

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:

JotForm data imported into Google Sheets
JotForm data imported into Google Sheets

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.

Popular API Tutorials

API Knowledge

What is an API?

What is an API URL?

What are parameters?

What is an endpoint?

What is an API key/token?

What is basic authentication?

What are headers?

What is a GET request?

What is a POST request?

Import JSON to Google Sheets

SEO by SearchCyrus