MultiMail Operator API

The Operator API from MultiMail — 4 operation(s) for operator.

GitHub OpenAPI

Operations 4

POST /v1/operator/start-session Start an operator dashboard session #
POST /v1/operator/verify-session Verify an operator dashboard session #
POST /v1/operator/end-session End an operator dashboard session #
GET /v1/operator/session Get operator-session status #

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/multimail-dev:multimail-dev-operator-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

multimail-dev-operator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MultiMail Operator API
  version: 2.0.0
  description: Email-as-a-Service for AI agents. Inbound email converted to markdown, outbound markdown converted to HTML. Built on Cloudflare Workers.
servers:
- url: https://api.multimail.dev
tags:
- name: Operator
paths:
  /v1/operator/start-session:
    post:
      summary: Start an operator dashboard session
      description: Requires admin scope. Sends a one-time code to the oversight email and begins the operator-session OTP flow.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '202':
          description: Code sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    maxLength: 32
                  masked_email:
                    type: string
                    maxLength: 320
        '400':
          description: No oversight email configured
        '429':
          description: Rate limited
        '503':
          description: Code email could not be delivered — retry shortly (rate-limit slot is not consumed)
      tags:
      - Operator
      operationId: postV1OperatorStartSession
      x-operation-id-source: derived
  /v1/operator/verify-session:
    post:
      summary: Verify an operator dashboard session
      description: Requires admin scope. Exchanges a one-time code for a short-lived HttpOnly operator-session cookie.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - code
              properties:
                code:
                  type: string
                  maxLength: 16
      responses:
        '200':
          description: Session active
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    maxLength: 32
                  expires_at:
                    type: integer
        '403':
          description: Invalid code
        '404':
          description: No pending code
      tags:
      - Operator
      operationId: postV1OperatorVerifySession
      x-operation-id-source: derived
  /v1/operator/end-session:
    post:
      summary: End an operator dashboard session
      description: Requires admin scope. Default callers revoke the key-wide operator session and clear its cookie. With session_only=true, validates the request cookie and atomically revokes only that token; emits no Set-Cookie so a delayed response cannot erase a replacement login. The revoked cookie remains inert until expiry.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                session_only:
                  type: boolean
                  default: false
                  description: Revoke only the captured browser operator-session token; preserve newer sessions and response cookies.
      responses:
        '200':
          description: Session cleared
      tags:
      - Operator
      operationId: postV1OperatorEndSession
      x-operation-id-source: derived
  /v1/operator/session:
    get:
      summary: Get operator-session status
      description: Requires admin scope. Reports whether the current browser has an active operator-session cookie.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Operator session status
          content:
            application/json:
              schema:
                type: object
                properties:
                  active:
                    type: boolean
                  expires_at:
                    type:
                    - integer
                    - 'null'
                  max_tier:
                    type:
                    - string
                    - 'null'
                    enum:
                    - medium
                    - null
        '401':
          description: Missing or invalid API key
        '403':
          description: Requires admin scope
      tags:
      - Operator
      operationId: getV1OperatorSession
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key (mm_live_...). Keys have scopes: read (list/read emails, mailboxes, contacts), send (send/reply/cancel emails), admin (manage mailboxes, API keys, billing, account), oversight (approve/reject pending emails).'