ChartMogul Plans API

The Plans API from ChartMogul — 2 operation(s) for plans.

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 5

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 /plans List subscription plans · List plans #
Ask an LLM
“What plans are set up in ChartMogul?”
“Can I see all my subscription plans?”
Tell an agent
List all plans.
Show every subscription plan.
POST /plans Create a subscription plan · Create a plan #
Ask an LLM
“How do I add a new monthly or annual plan?”
“Can I set a plan's interval count and unit when creating it?”
Tell an agent
Create a plan named {name}.
Add a {interval_count}-period {interval_unit} plan called {name}.
GET /plans/{uuid} Get a subscription plan · Retrieve a plan #
Ask an LLM
“How do I look up one plan by its UUID?”
“What interval and name does a specific plan have?”
Tell an agent
Get plan {uuid}.
Show the details of plan {uuid}.
PATCH /plans/{uuid} Update a subscription plan · Update a plan #
Ask an LLM
“Can I change the interval of an existing plan?”
“How do I rename a plan I already created?”
Tell an agent
Rename plan {uuid} to {name}.
Change the interval of plan {uuid} to {interval_count} {interval_unit}.
DELETE /plans/{uuid} Delete a subscription plan · Delete a plan #
Ask an LLM
“How do I remove a plan I no longer offer?”
“Can I delete a plan by its UUID?”
Tell an agent destructive · confirm first
Delete plan {uuid}.
Remove the {uuid} plan.

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-plans-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-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ChartMogul REST Plans 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: Plans
paths:
  /plans:
    get:
      tags:
      - Plans
      summary: List plans
      operationId: listPlans
      responses:
        '200':
          description: Plans
          content:
            application/json:
              schema:
                type: object
                properties:
                  plans:
                    type: array
                    items:
                      $ref: '#/components/schemas/Plan'
    post:
      tags:
      - Plans
      summary: Create a plan
      operationId: createPlan
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Plan'
      responses:
        '201':
          description: Plan created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plan'
  /plans/{uuid}:
    parameters:
    - in: path
      name: uuid
      required: true
      schema:
        type: string
    get:
      tags:
      - Plans
      summary: Retrieve a plan
      operationId: retrievePlan
      responses:
        '200':
          description: Plan
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plan'
    patch:
      tags:
      - Plans
      summary: Update a plan
      operationId: updatePlan
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Plan'
      responses:
        '200':
          description: Updated plan
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plan'
    delete:
      tags:
      - Plans
      summary: Delete a plan
      operationId: deletePlan
      responses:
        '204':
          description: Deleted
components:
  schemas:
    Plan:
      type: object
      properties:
        uuid:
          type: string
        data_source_uuid:
          type: string
        name:
          type: string
        interval_count:
          type: integer
        interval_unit:
          type: string
          enum:
          - day
          - month
          - year
        external_id:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Auth. Username is your ChartMogul API key; password is empty.