Modoboa Theme API

The theme API from Modoboa — 2 operation(s) for theme.

Operations 3

GET /api/v2/theme/ Theme retrieve #
POST /api/v2/theme/logo/ Theme logo create #
DELETE /api/v2/theme/logo/ Theme logo destroy #

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/modoboa:modoboa-theme-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

modoboa-theme-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Modoboa Theme API
  version: v2
servers:
- url: https://demo.modoboa.org/api/schema-v2/
  description: Remote Demo server
- url: https://localhost:5000/api/schema-v2/
  description: Local server
tags:
- name: Theme
paths:
  /api/v2/theme/:
    get:
      operationId: theme_retrieve
      description: Return the theme values of this Modoboa instance.
      tags:
      - Theme
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Theme'
          description: ''
      summary: Theme retrieve
      x-summary-source: derived
  /api/v2/theme/logo/:
    post:
      operationId: theme_logo_create
      description: Upload or clear a custom theme logo.
      tags:
      - Theme
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ThemeLogoUpload'
        required: true
      security:
      - tokenAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeLogoUpload'
          description: ''
      summary: Theme logo create
      x-summary-source: derived
    delete:
      operationId: theme_logo_destroy
      description: Upload or clear a custom theme logo.
      tags:
      - Theme
      security:
      - tokenAuth: []
      responses:
        '204':
          description: No response body
      summary: Theme logo destroy
      x-summary-source: derived
components:
  schemas:
    ThemeLogoUpload:
      type: object
      properties:
        logo_type:
          $ref: '#/components/schemas/LogoTypeEnum'
        image:
          type: string
          format: uri
      required:
      - image
      - logo_type
    Theme:
      type: object
      properties:
        theme_primary_color:
          type: string
          default: '#046BF8'
        theme_primary_color_dark:
          type: string
          default: '#0350BA'
        theme_primary_color_light:
          type: string
          default: '#3688F9'
        theme_secondary_color:
          type: string
          default: '#F18429'
        theme_label_color:
          type: string
          default: '#616161'
        theme_login_logo_url:
          type: string
          default: ''
        theme_menu_logo_url:
          type: string
          default: ''
        theme_creation_form_logo_url:
          type: string
          default: ''
    LogoTypeEnum:
      enum:
      - login
      - menu
      - creation_form
      type: string
      description: '* `login` - login

        * `menu` - menu

        * `creation_form` - creation_form'
  securitySchemes:
    oauth2:
      type: oauth2
      flows: {}
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"