ChartMogul Developer Hub

Welcome to the ChartMogul Developer Hub. You'll find comprehensive guides and documentation to help you start working with ChartMogul as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    


The ChartMogul API uses HTTP Basic Authentication.

With every request made to the ChartMogul API you must provide your Account Token and Secret Key as basic auth credentials.

You can find your Account Token and Secret Key in the ChartMogul API Admin page. You can reach it by clicking the gear icon in the bottom left of your account. Here you will see an API tab with the Account Token and Secret Key.

Admin API pageAdmin API page

Admin API page


Unable to access the Admin page?

You need to be an admin in your ChartMogul account to access this page. If you are unable to access the page to retrieve API credentials, please contact your account owner for access.

Once you have your Account Token and Secret Key, you can quickly verify them by sending us an authentication ping. You will receive a satisfying pong! in response if your credentials are correct.

curl -X GET "" \
ChartMogul.account_token = '<Account key goes here>'
ChartMogul.secret_key = '<Secret key goes here>'
const ChartMogul = require('chartmogul-node');
const config = new ChartMogul.Config(process.env.CHARTMOGUL_ACCOUNT_TOKEN, process.env.CHARTMOGUL_SECRET_KEY);
            .then(res => console.log(res))
            .catch(err => console.error(err))
import cm ""

api := cm.API{
    AccountToken: os.Getenv("CHARTMOGUL_ACCOUNT_TOKEN"),
    AccessKey:    os.Getenv("CHARTMOGUL_SECRET_KEY"),
ok, err := api.Ping()
if err != nil {
    fmt.Printf("This didn't work out: %v", err)
} else {
import chartmogul

config = chartmogul.Config('token', 'secret')
{ data: 'pong!' }

Updated about a year ago


The ChartMogul API uses HTTP Basic Authentication.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.