ChartMogul Customers API

The Customers API from ChartMogul — 5 operation(s) for customers.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /customers List customers · List customers #
Ask an LLM
“How do I get the list of customers in my ChartMogul account?”
“Can I page through all customers?”
Tell an agent
List all customers.
Show {per_page} customers per page.
POST /customers Create a customer · Create a customer #
Ask an LLM
“How do I add a new customer to ChartMogul?”
“Can I set a customer's email and company when creating them?”
Tell an agent
Create a customer named {name} with email {email}.
Add a customer {name} from data source {data_source_uuid}.
GET /customers/{uuid} Get a customer · Retrieve a customer #
Ask an LLM
“What details are stored for one customer?”
“Can I look up a customer by its UUID?”
Tell an agent
Get customer {uuid}.
Show the profile of customer {uuid}.
PATCH /customers/{uuid} Update a customer · Update a customer #
Ask an LLM
“How do I change a customer's email or company?”
“Can I update a customer's city after creating them?”
Tell an agent
Update customer {uuid} with email {email}.
Change the company of customer {uuid} to {company}.
DELETE /customers/{uuid} Delete a customer · Delete a customer #
Ask an LLM
“How do I remove a customer from ChartMogul?”
“Can I delete a customer by UUID?”
Tell an agent destructive · confirm first
Delete customer {uuid}.
Remove the customer record {uuid}.
GET /customers/email/{email} Find customers by email · List customers by email #
Ask an LLM
“Which customer record matches an email address?”
“Can I look up customers by email?”
Tell an agent
Find customers with email {email}.
Look up the customer record for {email}.
GET /customers/{uuid}/activities List a customer's activities · List customer activities #
Ask an LLM
“What has happened to a customer over time?”
“Can I see the activity log for one customer?”
Tell an agent
List activities for customer {uuid}.
Show the activity history of customer {uuid}.
GET /customers/{uuid}/invoices List a customer's invoices · List customer invoices #
Ask an LLM
“Which invoices have been sent to a customer?”
“Can I list a customer's invoices by UUID?”
Tell an agent
List invoices for customer {uuid}.
Show the invoice history of customer {uuid}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/chartmogul:chartmogul-customers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

chartmogul-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ChartMogul REST Customers API
  version: '1'
  description: 'ChartMogul REST API for importing customers, subscriptions, plans,

    invoices, and transactions, and for reading subscription analytics

    metrics (MRR, ARR, ARPA, churn, LTV). Authentication uses HTTP Basic

    Auth with your API key as the username and an empty password.'
  contact:
    name: ChartMogul Developer Docs
    url: https://dev.chartmogul.com/docs/introduction
servers:
- url: https://api.chartmogul.com/v1
security:
- basicAuth: []
tags:
- name: Customers
paths:
  /customers:
    get:
      tags:
      - Customers
      summary: List customers
      operationId: listCustomers
      parameters:
      - in: query
        name: page
        schema:
          type: integer
      - in: query
        name: per_page
        schema:
          type: integer
      responses:
        '200':
          description: Paged list of customers
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerList'
    post:
      tags:
      - Customers
      summary: Create a customer
      operationId: createCustomer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Customer'
      responses:
        '201':
          description: Customer created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
  /customers/{uuid}:
    parameters:
    - in: path
      name: uuid
      required: true
      schema:
        type: string
    get:
      tags:
      - Customers
      summary: Retrieve a customer
      operationId: retrieveCustomer
      responses:
        '200':
          description: Customer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
    patch:
      tags:
      - Customers
      summary: Update a customer
      operationId: updateCustomer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Customer'
      responses:
        '200':
          description: Updated customer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
    delete:
      tags:
      - Customers
      summary: Delete a customer
      operationId: deleteCustomer
      responses:
        '204':
          description: Deleted
  /customers/email/{email}:
    parameters:
    - in: path
      name: email
      required: true
      schema:
        type: string
        format: email
    get:
      tags:
      - Customers
      summary: List customers by email
      operationId: listCustomersByEmail
      responses:
        '200':
          description: Customers matching the email
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerList'
  /customers/{uuid}/activities:
    parameters:
    - in: path
      name: uuid
      required: true
      schema:
        type: string
    get:
      tags:
      - Customers
      summary: List customer activities
      operationId: listCustomerActivities
      responses:
        '200':
          description: Activities
          content:
            application/json:
              schema:
                type: object
  /customers/{uuid}/invoices:
    parameters:
    - in: path
      name: uuid
      required: true
      schema:
        type: string
    get:
      tags:
      - Customers
      summary: List customer invoices
      operationId: listCustomerInvoices
      responses:
        '200':
          description: Invoices
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceList'
components:
  schemas:
    InvoiceList:
      type: object
      properties:
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/Invoice'
    CustomerList:
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/Customer'
        has_more:
          type: boolean
        per_page:
          type: integer
        page:
          type: integer
    Customer:
      type: object
      properties:
        uuid:
          type: string
        external_id:
          type: string
        data_source_uuid:
          type: string
        name:
          type: string
        email:
          type: string
          format: email
        company:
          type: string
        country:
          type: string
        city:
          type: string
    Invoice:
      type: object
      properties:
        uuid:
          type: string
        external_id:
          type: string
        customer_uuid:
          type: string
        date:
          type: string
          format: date-time
        currency:
          type: string
        due_date:
          type: string
          format: date-time
        line_items:
          type: array
          items:
            type: object
        transactions:
          type: array
          items:
            type: object
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth. Username is your ChartMogul API key; password is empty.