Shortcut, formerly Clubhouse, is a project management software. We can use the Shortcut API to import data from Shortcut into Google Sheets. In this tutorial, we’ll show you how to connect the Shortcut REST API to Google Sheets in 5 steps:
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: 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.
Tip: you can open a new Google Sheet by entering this URL in your browser:
After logging into your Shortcut account, click the user icon from the bottom-left corner, then in the displayed menu click the Settings option:
Click the API Tokens option from the menu on the left:
In the API Tokens section, type a name in the Token Name field, then click the Generate Token button:
Your token is now generated. Copy it to a safe location because you’ll need it in the next steps:
In this section, we’ll show you how to browse the Shortcut API documentation to find the API URL that retrieves the information you need from your account. 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 Shortcut API documentation page: https://shortcut.com/api/rest/v3
The menu on the left contains an Introduction section and a list of categories, each with its own endpoints.
For example, if we click the Entity-Templates category, a list with its endpoints will be displayed:
An example endpoint is List Entity Templates which lists all the entity templates for an organization:
The endpoint’s documentation contains a short description of its purpose, the HTTP method (eg. GET), its URI, an example request as a cURL command and its associated example response:
All API calls for Shortcut should be made to the https://api.app.shortcut.com/api/v3/ base domain.
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 Shortcut API endpoint that you need. Now copy and paste your complete 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 List Categories endpoint which returns a list of all categories and their attributes. This is what the whole URL looks like:
Header 1 Key: Shortcut-Token Value: your_token
Header 2 Key: Content-Type Value: application/json
your_ token value is the string you generated previously, in Step 2.
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the 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 Shortcut API, try querying a different API endpoint, or try using one of the more advanced features in the Apipheny add-on.
Crypto API Tutorials: