In this tutorial, I’ll show you how to connect the Videoask REST API to Google Sheets in 5 steps:
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
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.
After logging into your Videoask account, click the question mark from the menu on the left and then choose the Developers / APIs option:
Your token will then be displayed on the screen. This token is valid for 2 hours:
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.
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:
If we click a category (e.g Forms), a list with specific endpoints will be expanded:
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:
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:
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:
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:
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.
Here’s what our Videoask API request looks like when entered into Apipheny:
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:
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: