Videoask, a tool created by the same company as Typeform, allows users to embed video conversations on a website.

In this tutorial, I’ll show you how to connect the Videoask REST API to Google Sheets in 5 steps:

  1. Install the Apipheny add-on
  2. Obtain an access token
  3. Choose a Videoask Endpoint
  4. Enter your Videoask API request into Apipheny
  5. Run the Videosk API request

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

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.

open apipheny

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

Step 2.) Obtain an access token

After logging into your Videoask account, click the question mark from the menu on the left and then choose the Developers / APIs option:

In your Videoask dashboard, click the question mark and then Developer/APIs
In your Videoask dashboard, click the question mark and then Developer/APIs

Your token will then be displayed on the screen. This token is valid for 2 hours:

Videoask API token
Videoask API token

Copy and paste your token in a safe location because you’ll need it in the next steps. To get a new token, just refresh this page.

Step 3.) Choose a Videoask Endpoint

In this section, we’ll show you how to browse the Videoask API documentation to find the Videoask API URL that retrieves the information you need from your Videoask account. The end part of the URL is called the endpoint.

If you already know your URL, or you want to use the same example URL as us, just skip to Step 4.

First, open the Videoask API documentation page: https://documenter.getpostman.com/view/291373/SWTEdwrG#intro

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

Videoask API documentation
Videoask API documentation

If we click a category (e.g Forms), a list with specific endpoints will be expanded:

Videoask API endpoints documentation
Videoask API endpoints documentation

An example Videoask API endpoint is Retrieve forms, which retrieves a list of all forms from your Videoask account. The URL for this endpoint is:

https://api.videoask.com/forms

The documentation for each endpoint contains the endpoint’s HTTP method (eg. GET), the URI, a short description of the endpoint’s purpose, the authorization method, the headers, the authentication method and a list of the accepted parameters. On the black section on the right, you will find the cURL command and an example response:

Example Videoask API endpoint documentation
Example Videoask API endpoint documentation

Step 4.) Enter your Videoask 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 Videoask REST API endpoint that you need. Now copy and paste your complete Videoask 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 question answers endpoint, which lists all the answers for a specific question. This is what the whole URL looks like:

https://api.videoask.com/questions/QUESTION_ID/answers

If you’re following the same example, you can copy and paste this URL into the add-on. Don’t forget to replace QUESTION_ID with a real question id.

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

Header
Key:
Authorization
Value:
Bearer your_token

Replace your_token with the value of the token you obtained previously, in Step 2. There should be a literal space between Bearer and your_token.

Here’s what our Videoask API request looks like when entered into Apipheny:

Videoask API request entered in the Apipheny add-on in Google Sheets
Videoask API request entered in the Apipheny add-on in Google Sheets

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

Videoask API data imported into Google Sheets using Apipheny
Videoask API data imported into Google Sheets using Apipheny

That’s it! You’ve successfully connected your Videoask account to Google Sheets using the Videoask API, Google Sheets API, and the Apipheny add-on.

After making a successful request to the Videoask API, try querying a different Videoask API endpoint, or try using one of the more advanced features in the Apipheny add-on.


Crypto API Tutorials:


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?