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 for Google Sheets

Apipheny is an API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to unlimited API data sources, make unlimited API requests, and more. There is a 30 day free trial included.

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.

open apipheny

Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new

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

Make sure to replace your_ token with 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.

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.


API Tutorials



API Knowledge

What is an API?
What is an API URL?
What are parameters?
What is an endpoint?
What is an API key/token?
What is basic authentication?
What are headers?
What is a GET request?
What is a POST request?