ActiveCampaign gives you the email marketing, marketing automation, and CRM tools you need to create incredible customer experiences. We can use the ActiveCampaign API to import data from ActiveCampaign into Google Sheets. In this tutorial, we’ll show you how to connect the ActiveCampaign REST API to Google Sheets in 5 steps:
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.
Tip: you can open a new Google Sheet by entering this URL in your browser: sheet.new
After logging into your ActiveCampaign account, go to Settings, then click Developer and you’ll find your URL and API Key:
Copy the value of your URL and API key in a safe location because you’ll need them later.
In this section, we’ll show you how to browse the ActiveCampaign API documentation to find an API endpoint that retrieves the specific information you need from your account. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 4.
First, open the ActiveCampaign API documentation page: https://developers.activecampaign.com/reference#overview
The menu on the left contains general information about the ActiveCampaign API and a list of grouped endpoints:
For example, if we click the Accounts group, its endpoints will be displayed: Create an account, Update an account, Retrieve an account, Delete an account, List all accounts, Create an account note, Update an account note and Bulk delete accounts.
In this case, we will describe the List all accounts endpoint, which lists all accounts. The URL for this endpoint is:
https://youraccountname.api-us1.com/api/3/accounts
If you use this URL, don’t forget to replace youraccountname with a real account name.
The documentation for this endpoint contains its HTTP method and URL path, the cURL command, the expected response body and a list of accepted query parameters:
Okay, we’re in the home stretch. 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) as required by your ActiveCampaign API endpoint. For this example, we are using the GET method.
API URL: In Step 3, I explained how you can find the ActiveCampaign API endpoint that you need. Now copy the complete API URL into the Apipheny add-on, where it says API URL Path, followed by any GET parameters required for your query.
For this example, we are using the List all addresses endpoint, that lists all addresses. The corresponding URL for this endpoint is:
https://your-account.api-us1.com/api/3/addresses
If you use this URL, don’t forget to replace your-account with your account name.
In the Headers section of the Apipheny add-on, add one row with the following key and value:
Header Key: Api-Token Value: YOUR_TOKEN
When entering the header value, don’t forget to replace YOUR_TOKEN with the key you previously obtained in Step 2.
The last step is to click the Run button at the bottom of the Apipheny add-on and then your ActiveCampaign data will be imported into your Google Sheet:
After making a successful request to the ActiveCampaign API, try querying a different ActiveCampaign API endpoint, or try using one of the more advanced features in the Apipheny add-on.
Make a GET request
Make a POST request
PUT, PATCH, & DELETE Requests
Save requests for later
Schedule requests for automatic updates
Reference cell values in requests
=APIPHENY custom function
Stack multiple URLs in a single request
Run all saved requests at once
Modify your request settings
Import & export saved API settings
Ahrefs API
Airtable API
Alpha Vantage API
Asana API
Binance API
Clickup API
Coingecko API
Coinmarketcap API
Coinbase API
Constant Contact API
Discord API
Drift API
Etsy API
Eventbrite API
Facebook Graph API
Facebook Ads API
Figma API
Github API
Google SERP API
Hubspot API
Hunter API
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?