Monday.com is a popular project management platform. We can use Monday’s API to import data from a Monday account into Google Sheets. In this tutorial, you will learn how to connect the Monday API to Google Sheets in 5 steps:

  1. Install the Apipheny Add-on
  2. Generate an Access Token
  3. Choose a Monday API Endpoint
  4. Enter Your Monday API request into Apipheny
  5. Run the Monday API request in your Google Sheet

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

To pull data from the Monday 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

Install Apipheny to connect Monday.com to Google Sheets
Install Apipheny to connect Monday.com to Google Sheets

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

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

Open the Apipheny add-on in your Google Sheet
Open the Apipheny add-on in your Google Sheet

Step 2.) Generate an Access Token

After logging into your Monday account, click on your avatar (picture icon) in the bottom left corner and then select Admin from the resulting menu (this requires you to have admin permissions):

Click Admin in the Profile Menu
Click Admin in the Profile Menu

Select the API section and click the Generate link to obtain an “API v2 Token”:

Click "API"
Click “API”
Generate a new token
Generate a new token

Your API key is now generated. Click the Copy button and then paste your token in a safe location because you will need it in the next steps:

Copy your token to a safe location for use in the next steps
Copy your token to a safe location for use in the next steps

Step 3.) Choose a Monday Endpoint

In this section, we’ll show you how to browse the Monday API documentation to find the API URL which retrieves the information you need from your account. If you already know your URL, or if you want to use the same example URL as us, just skip to Step 4.

First, open the Monday API documentation page: https://monday.com/developers/v2#queries-section

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

Monday.com API endpoints
Monday.com API endpoints

If you click on a category (e.g Columns), the page will scroll to a description of that category, followed by a list of its endpoints:

Monday endpoint documentation example
Monday endpoint documentation example

An example endpoint is Column fields, which returns the fields for one or for a collection of columns. The URL for this endpoint is:

https://api.monday.com/v2/

Each endpoint’s documentation contains a short description of its purpose and a list of the accepted parameters. On a darker area on the right, you will find the query for the request’s POST Body:

All API calls to Monday should be made with this base domain: https://api.monday.com/v2/

So all endpoint should be appended to this base URL.

Step 4.) Enter Your Monday 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 POST method.

API URL: In Step 3, we explained how you can find the Monday REST API endpoint that you need. Now copy and paste your complete Monday 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 Board fields endpoint, which returns specific fields for the board. This is what the whole URL looks like:

https://api.monday.com/v2

Headers: In the Headers section of Apipheny, add two rows with the following keys and values:

Header 1
Key:
Content-Type
Value:
application/json

Header 2
Key:
Authorization
Value:
<your_token>

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

POST Body: In this section you should add the following JSON object:

{"query":"{boards(ids:<board_id>){id, name, state}}"}

Don’t forget to replace the <board_id> with an actual board id, and do not include the carrots “<>” around the board_id.

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

Monday API request entered into the Apipheny add-on
Monday API request entered into the Apipheny add-on

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

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

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

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

Related articles:

Related Posts