ConvertKit is the go-to marketing hub for creators that helps you grow and monetize your audience with ease. We can use the ConvertKit API to import data from ConvertKit into Google Sheets. In this tutorial, we’ll show you how to connect the ConvertKit 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: sheet.new
First make sure you’re logged in to your ConvertKit account.
Next, click on your account icon to display a drop-down menu, then click the Settings item:
The Settings page will then be displayed. In the left menu, click the </> Advanced item:
On this page you will find the API section containing your API key and secret:
Copy both of them to a safe location because you’ll need it later.
In this section, we’ll show you how to browse the ConvertKit API documentation to find the endpoint URL that retrieves the information you need from your ConvertKit account.
If you already know your API URL, or you want to use the same example URL as us, just skip to Step 4.
To choose an endpoint, first open the ConvertKit API documentation page: https://developers.ConvertKit.com/#getting-started
The menu on the left contains a Getting started section and a list of categorized endpoints:
If we click the Tags category, a list with its endpoints will be displayed:
In this case, we will describe the List subscriptions to a tag endpoint, which lists subscriptions to a tag including subscriber data:
https://api.ConvertKit.com/v3/tags/<tag_id>/subscriptions?api_secret=SECRET
If you use this API URL endpoint, don’t forget to replace SECRET with your own secret key value.
The documentation for this endpoint contains its HTTP method and URL path, a short description of the endpoint’s purpose, the required and optional parameters, the cURL command and example response:
All API calls to the ConvertKit should be made using the https://api.ConvertKit.com/v3/ base domain. All endpoints and parameters would be appended to this base domain.
Now go back to your Google Sheet and make sure that the Apipheny add-on is open, on the Import tab.
In the Import Tab, enter these details into the add-on:
Method: At the top of the Apipheny sidebar, select the HTTP method (GET, POST, PUT, PATCH or DELETE) 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 ConvertKit API endpoint that you need. Now copy the complete 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 subscribers endpoint, which returns a list of your subscribers. The URL for this API endpoint is:
https://api.ConvertKit.com/v3/subscribers?api_secret=SECRET&from=2023-02-01&to=2023-10-28
If you use the same URL, don’t forget to replace SECRET with your own secret key value and change the date values if you need to.
The last step is to click the Run button at the bottom of the Apipheny add-on and then your ConvertKit data will be imported into your Google Sheet.
Schedule requests for automatic updates
Reference cell values in requests
Stack multiple URLs in a single request
Crypto API Tutorials: