Eventbrite is a website that lets people search, discover and create events near them.

In this tutorial, you will learn how to connect the Eventbrite REST API to Google Sheets in 5 steps:

  1. Install the Apipheny Add-on
  2. Find your private Eventbrite API token
  3. Choose an Eventbrite endpoint URL
  4. Enter your Eventbrite API URL into Apipheny
  5. Run the Eventbrite API request in your Google Sheet

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

To pull data from the Eventbrite API to Google Sheets, you’ll have to 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 in the Google App Store in order to import Eventbrite data into your Google Sheet
Install Apipheny in the Google App Store in order to import Eventbrite data into your Google Sheet

2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons 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.

How to open the Apipheny add-on in your Google Sheet after installing it
How to open the Apipheny add-on in your Google Sheet after installing it

Step 2.) Find your private Eventbrite API token

After you’ve created an EVentbrite account and logged in to your Eventbrite deverloper account, a page containing your private token will be displayed.

Copy and paste your private token to safe location, because you’ll need it in the next steps:

Eventbrite Private Token - copy and paste it somewhere safe until the next steps
Eventbrite Private Token – copy and paste it somewhere safe until the next steps

Step 3.) Choose your Eventbrite endpoint URL

In this section, we’ll show you how to browse the Eventbrite API documentation to find an Eventbrite API URL endpoint that retrieves the information you need from your Eventbrite account or from the Eventbrite database of events.

If you already know the API URL and endpoint you’re going to use, or you want to use the same example URL as us, just skip to Step 4.

First, open the Eventbrite API documentation page: https://www.eventbrite.com/platform/api#/reference

The menu on the left contains an Introduction section and a Reference section. In the Reference section we can find a list of API categories, each with its own endpoints:

Eventbrite API categories and endpoints
Eventbrite API categories and endpoints

Clicking on a category scrolls to that category’s section, and each category’s sction contains a list of associated endpoints.

For example, when clicking the Attendee category, the page scrolls to an introduction section and a list of its 2 endpoints:

  • Retrieve
  • List
Eventbrite API example - Attendee category and endpoints
Eventbrite API example – Attendee category and endpoints

All API calls to Eventbrite should be made with this base URL:

https://www.eventbriteapi.com/v3/

An example Eventbrite API URL with endpoint is Retrieve, and this is what the whole API URL looks like when put together:

https://www.eventbriteapi.com/v3/events/event_id/attendees/attendee_id/

Each endpoint’s documentation contains descriptions of the endpoint’s purpose. On a separate column on the right, you can find the CURL request to the endpoint, the available parameters, the expected response and an example response:

Eventbrite API endpoint example
Eventbrite API endpoint example

Step 4.) Enter your Eventbrite API URL 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 Apipheny:

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 Eventbrite REST API endpoint that you need. Now copy and paste your complete Eventbrite API URL into the Apipheny add-on, where it says API URL Path, followed by any GET parameters required for your query (if applicable). For this example, we are using the Retrieve endpoint from Categories, which returns a list of Category objects, as categories with nested subcategories. This is what the whole URL looks like for this endpoint:

https://www.eventbriteapi.com/v3/categories/

If you’re following this same example as us, you will copy and paste the same URL into Apipheny, where it says “API URL”.

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

Header 1
Key:
Authorization
Value:
Bearer <your_token>

Header 2
Key:
Accept
Value:
Application/json

Where it says <your_ token>, copy and paste your actual token that you got in Step 2. Don’t forget to put the word “Bearer” before your token. There should be a single space between “Bearer” and <your_ token>. Do not include the carrots “<>” around your token.

Here is what your Eventbrite API request should look like when entered into Apipheny:

Eventbrite API request details entered in the Apipheny add-on in Google Sheets
Eventbrite API request details entered in the Apipheny add-on in Google Sheets

Notice the API URL field is filled in, as well as the two separate “Headers”.

Step 5.) Run the Eventbrite API Request

Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Eventbrite API data to be imported into your Google Sheet, like so:

Congratulations, you’ve imported Eventbrite data into your Google Sheet!

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

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

Related articles:

Related Posts