Skip to main content
In today’s data-driven environment, businesses require swift, reliable access to data from diverse sources to drive decision-making and operational efficiency. Recognizing this need, Superjoin is thrilled to introduce Custom API, a flexible connector that integrates any API with your preferred spreadsheet environment.

Step-by-step walkthrough: How to connect APIs to Google Sheets

1

Get Add-ons

Click on Extensions and select Add-ons and choose Get Add-ons. This action will redirect you to the Google Workspace Marketplace.
Get Add-ons
2

Search Superjoin

In the Google Workspace Marketplace pop-up window, search for Superjoin.
3

Click on Install

Click on the Install button to install Superjoin.
Note: For the best experience, install Superjoin where there’s only a single account logged in the Chrome profile.
Marketplace
4

Launch Superjoin

Once installed, navigate back to the Extensions menu tab in Google Sheets. Launch Superjoin from here. You should now see Superjoin running as a side panel on the right side of your screen.
Launch Superjoin
5

Navigate to Queries

To begin, you can navigate to Queries , choose to Create new query.
Navigate to Queries
6

Connect a New Source

Navigate to Sources, select Connect to a new source and search for Custom API.
7

Choose authorization type

Authorization in API interactions ensures that only authorized users can access specific functions or data. It acts as a gatekeeper, verifying credentials before allowing access to API resources.Superjoin’s CustomAPI supports three distinct types of authorization to cater to different access needs:
Based on the selected authorization type, you’ll be further prompted to enter details.
8

Select request method

The request method determines how data is sent or requested from a server, playing a pivotal role in the interaction with various web services. Superjoin supports two primary HTTP request methods:
9

Enter URL

Specifies the address of your server, basically where your API requests are sent.
You can also add in query parameters in your URL such as: https://api.example.com?itemId=20
10

Headers (optional)

Headers play a crucial role in conveying additional information about the request or the response between the client and the server. Some APIs might require or support additional headers that control or modify the operation of the request.In Superjoin’s CustomAPI, headers are formatted as key-value pairs that can be easily added to your API requests.
In the above image we have added a header with key as API_KEY and value as 1kjvwda321wuro.
You cannot add a new header without filling both key and value fields for the previous header.
11

Request Body (payload)

The “body” of a request is crucial when using POST methods, as it contains the data you send to the server. For effective data exchange and customization in API requests through Superjoin’s CustomAPI, understanding how to format and use the body is key.Superjoin supports two flexible ways to add content to the body of your API requests, accommodating various API specifications and user preferences:

JSON Editor


Key value pairs

12

Connect

Click “Connect” to establish the connection with the API. Superjoin will open the Data Preview upon successful creation, allowing you to preview your data.

Setup Pagination

Need help setting up pagination?

Head over to the Pagination page to get a detailed explanation on it.