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 in Google Sheets

To pull data from the Videoask 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. Click here for more info about Apipheny.

1. Install Apipheny by opening the following link in on desktop and then clicking the Install button on the page: https://gsuite.google.com/marketplace/app/apipheny/966163326746

Installing the Apipheny add-on
Installing the Apipheny add-on

2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons or Extentions option in the top menu. In the add-ons/extensions menu, you should see Apipheny.

Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets.

Opening the Apipheny add-on
Opening the Apipheny add-on

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>

<your_token> is the value of the token you obtained previously, in Step 2. There should be a space between Bearer and <your_token>. Do not include the carrots <>.

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, such as:

  • Save and schedule your Videoask API request
  • Make a POST request to the Videoask API (if available)
  • Use the custom =APIPHENY() function to call the Videoask API request inside your spreadsheet
  • Create an API request by referencing the value of a cell in your Videoask API URL with three curly braces eg. {{{Sheet1!A1}}}

Related articles:

Related Posts