listmonk Maintenance API

Maintenance API

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 3

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

DELETE /maintenance/subscribers/{type} Delete orphaned or blocklisted subscribers · Delete GC subscribers #
Ask an LLM
“How do I clean up subscribers that were orphaned or blocklisted?”
“Can I delete only blocklisted subscribers?”
Tell an agent destructive · confirm first
Delete {type} subscribers.
Run garbage collection on {type} subscribers.
DELETE /maintenance/analytics/{type} Delete campaign analytics · Delete campaign analytics by type #
Ask an LLM
“How do I clean up old campaign analytics?”
“Can I delete campaign analytics older than a certain date?”
Tell an agent destructive · confirm first
Delete {type} campaign analytics.
Delete {type} campaign analytics before {before_date}.
DELETE /maintenance/subscriptions/unconfirmed Delete unconfirmed subscriptions · Delete unconfirmed subscriptions #
Ask an LLM
“How do I remove subscriptions that never confirmed?”
“Can I clean up unconfirmed subscriptions from before a date?”
Tell an agent destructive · confirm first
Delete unconfirmed subscriptions.
Delete unconfirmed subscriptions before {before_date}.

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/listmonk:listmonk-maintenance-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

listmonk-maintenance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Listmonk Maintenance API
  description: The API collection for listmonk
  license:
    name: AGPL-3.0 license
    url: https://github.com/knadh/listmonk/blob/master/LICENSE
servers:
- description: Listmonk Developement Server
  url: http://localhost:9000/api
tags:
- name: Maintenance
  description: Maintenance API
paths:
  /maintenance/subscribers/{type}:
    delete:
      description: garbage collects (deletes) orphaned or blocklisted subscribers.
      operationId: deleteGCSubscribers
      tags:
      - Maintenance
      parameters:
      - in: path
        name: type
        description: type of GC collected subscribers
        schema:
          type: string
        required: true
      responses:
        '200':
          description: response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      count:
                        type: integer
      summary: Delete GC subscribers
      x-summary-source: derived
  /maintenance/analytics/{type}:
    delete:
      description: garbage collects (deletes) campaign analytics.
      operationId: deleteCampaignAnalyticsByType
      tags:
      - Maintenance
      requestBody:
        description: date parameter
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                before_date:
                  type: string
                  format: date
      parameters:
      - in: path
        name: type
        description: type of GC collected subscribers
        schema:
          type: string
        required: true
      responses:
        '200':
          description: response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: boolean
      summary: Delete campaign analytics by type
      x-summary-source: derived
  /maintenance/subscriptions/unconfirmed:
    delete:
      description: garbage collects (deletes) orphaned or blocklisted subscribers.
      operationId: deleteUnconfirmedSubscriptions
      tags:
      - Maintenance
      requestBody:
        required: true
        description: date parameter
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                before_date:
                  type: string
                  format: date
      responses:
        '200':
          description: response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      count:
                        type: integer
      summary: Delete unconfirmed subscriptions
      x-summary-source: derived