How to import data from Hapio into Google Sheets

Hapio is a flexible booking and scheduling platform. We can use the Hapio API to import data from Hapio into Google Sheets. In this tutorial, we’ll show you how to connect the Hapio REST API to Google Sheets in 5 steps:

  1. Install the Apipheny add-on
  2. Generate an access token
  3. Choose a Hapio endpoint
  4. Enter your Hapio API request into Apipheny
  5. Run the Hapio 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.) Generate an access token

After logging into your Hapio account, go to the Dashboard and click the Create your first project button:

Dashboard section
Dashboard section

Complete the Project Name field, then click the Create button:

Project Details section
Project Details page

Your project is now created.

Next, go to the API Tokens tab:

API Tokens tab
API Tokens tab

Complete the name of your token and check the abilities you want:

Create API Token section
Create API Token section

Click the Create button to generate the token:

Token creation
Token creation

Your token is now created. Copy it to a safe location, because you’ll need it later. This is the only time that you will see the token, so don’t forget to copy it!

API Token popup
API Token popup

Step 3.) Choose a Hapio API endpoint

In this section, we’ll show you how to browse the Hapio API documentation to find the endpoint that retrieves the information you need from Hapio. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 4.

First, open the Hapio API documentation page:

The menu on the left contains general information about the Hapio API and a list of categorized endpoints:

Hapio API documentation page
Hapio API documentation page

If we click the Resources category, a list of its endpoints will be displayed:

Resources category
Resources category

An example endpoint is Retrieve a resource, which retrieves the specified resource:{resource}

If you use this URL, don’t forget to replace {resource} with a real value of a resource!

The endpoint’s documentation contains a short description of the endpoint’s purpose, its HTTP method (GET), the URI, the path parameters, the cURL command and example responses:

Retrieve a resource endpoint
Retrieve a resource endpoint

Step 4.) Enter your Hapio 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, POST, PUT, etc) required by your API endpoint. For this example, we are using the GET method.

API URL: In Step 4, we explained how you can find the Hapio API endpoint that you need. Now copy and paste your complete Hapio 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 Retrieve your project endpoint, which retrieves the project that the API token of the request is associated with. This is what the whole URL looks like:

Headers: In the Headers section, add one row with the following key and value:


Bearer your_token

Make sure to replace your_token with the value of the API key you obtained previously, in Step 3. There should be a literal space between Bearer and your_token.

Calendly (Hapio) API request entered into Apipheny
Hapio API request entered into Apipheny

Step 5.) Run the Hapio 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 Hapio API data to be imported into your Google Sheet. Here’s what our request looked like when completed:

Hapio data imported into Google Sheets
Hapio data imported into Google Sheets

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