Use Chargify as a data source

Resources

Data Source Type: REST/URL
Authentication: Basic HTTP Authentication
Sample Query

To return up to 200 responses per page in Chargify

https://<subdomain>.chargify.com/<resourceURI>?per_page=200
API Documentation: Chargify API Documentation

Step-by-Step

Creating a data source using Chargify

To create a data source using Chargify, you will need to a) have two windows open: Klipfolio and your Chargify account, and b) complete the following tasks:

  • Start the data creation process
  • Find your subdomain name and API Key
  • Craft your query and enter it in Klipfolio

This guide assumes that you already have an active Chargify account.

Step 1: Start the data source creation process

To create a data source using Chargify, go to the New Data Source page in Klipfolio and select the REST/URL connector option.

Step 2: Find your Chargify API Key and Subdomain name

In order to successfuly build a Chargify query, you will need your Chargify subdomain name and API Key.

You will use your subdomain name in your query, and your API Key when you authenticate in Klipfolio. To learn more, see Step 3: Craft a query

Location Action
To find your subdomain name and API Key, open a new window and sign in to your Chargify account.
Your Chargify Subdomain name can be found in two ways:
  1. After logging in to Chargify, on the Your Sites page, copy your Subdomain Name.
  2. In Chargify, within the site you are managing, navigate to the address bar. Copy your subdomain name from the URL.

OR:

To find your API Key,
  1. In Chargify, click on your account name.
  2. In the dropdown menu, select API Access.
  1. On the left-side menu, select API Access.
  2. Copy your current API Key or generate an API Key.
  3. Paste it into Klipolio.

Step 3: Craft a query and enter it in Klipfolio

Now that you have your Chargify subdomain name and API Key, you can craft a query in Klipfolio. Refer to the Chargify API documentation as you craft your query.

 

There are many Chargify query options for you to choose from. Here is a sample query to get you started.

 

To return up to 200 responses per page in Chargify

https://<subdomain>.chargify.com/<resourceURI>?per_page=200

Complete the data source creation process

  • Once you have entered your query, at Data format, select JSON.
  • At Method, select GET.
  • Select the Authentication dropdown.
  • At Type, select Basic HTTP.
  • At Username, paste your API Key from Chargify.
  • At Password, enter the letter XNote: The letter x is your password for all Chargify queries in Klipfolio.

Related links: