listmonk Media API

The Media API from listmonk — 2 operation(s) for media.

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-media-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

listmonk-media-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: listmonk Bounces Media API
  description: 'REST API for listmonk, the free and open-source, self-hosted newsletter and mailing-list manager. All endpoints are served by a self-hosted listmonk instance under the /api path and are secured with HTTP Basic auth using an API user and token (or an equivalent `Authorization: token api_user:token` header). There is no hosted SaaS; replace the server host with your own instance.'
  termsOfService: https://listmonk.app
  contact:
    name: listmonk
    url: https://listmonk.app/docs/apis/apis/
  license:
    name: AGPL-3.0
    url: https://github.com/knadh/listmonk/blob/master/LICENSE
  version: '4.1'
servers:
- url: http://localhost:9000/api
  description: Default local self-hosted instance
- url: '{host}/api'
  description: Self-hosted instance
  variables:
    host:
      default: http://localhost:9000
      description: Base URL of your listmonk instance
security:
- BasicAuth: []
- TokenAuth: []
tags:
- name: Media
paths:
  /media:
    get:
      operationId: getMedia
      tags:
      - Media
      summary: Retrieve uploaded media files.
      responses:
        '200':
          description: A list of media files.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaResponse'
    post:
      operationId: uploadMedia
      tags:
      - Media
      summary: Upload a media file.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
      responses:
        '200':
          description: The uploaded media file.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaResponse'
  /media/{media_id}:
    parameters:
    - name: media_id
      in: path
      required: true
      schema:
        type: integer
    get:
      operationId: getMediaFile
      tags:
      - Media
      summary: Retrieve a specific media file.
      responses:
        '200':
          description: The media file.
    delete:
      operationId: deleteMedia
      tags:
      - Media
      summary: Delete an uploaded media file.
      responses:
        '200':
          description: Deletion result.
components:
  schemas:
    Media:
      type: object
      properties:
        id:
          type: integer
        uuid:
          type: string
        filename:
          type: string
        content_type:
          type: string
        url:
          type: string
        thumb_url:
          type: string
        created_at:
          type: string
          format: date-time
    MediaResponse:
      type: object
      properties:
        data:
          oneOf:
          - $ref: '#/components/schemas/Media'
          - type: array
            items:
              $ref: '#/components/schemas/Media'
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: HTTP Basic auth using an API user name and token (api_user:token).
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Authorization header in the form: token api_user:token.'