MultiMail Api Keys API

The Api Keys API from MultiMail — 2 operation(s) for api keys.

GitHub OpenAPI

Operations 4

GET /v1/api-keys List API keys (never shows full key) #
POST /v1/api-keys Create a new API key #
PATCH /v1/api-keys/{keyId} Update API key name or scopes #
DELETE /v1/api-keys/{keyId} Revoke an API key #

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-api-keys-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-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MultiMail Api Keys 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: API Keys
paths:
  /v1/api-keys:
    get:
      summary: List API keys (never shows full key)
      description: Requires admin scope. Returns key prefix, scopes, and metadata.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: API key list
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_keys:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKeyInfo'
      tags:
      - API Keys
      operationId: getV1ApiKeys
      x-operation-id-source: derived
    post:
      summary: Create a new API key
      description: Requires admin scope. The raw key is returned only once in the response.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                scopes:
                  type: array
                  items:
                    type: string
                    enum:
                    - read
                    - send
                    - admin
                    - oversight
                  default:
                  - read
      responses:
        '201':
          description: Key created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  api_key:
                    type: string
                    description: Raw key (shown once)
                  prefix:
                    type: string
                  name:
                    type: string
                  scopes:
                    type: array
                    items:
                      type: string
      tags:
      - API Keys
      operationId: postV1ApiKeys
      x-operation-id-source: derived
  /v1/api-keys/{keyId}:
    patch:
      summary: Update API key name or scopes
      description: Requires admin scope. Sensitive changes require a request-bound operator code; API-key scope alone does not authorize them.
      security:
      - bearerAuth: []
      parameters:
      - name: keyId
        in: path
        required: true
        schema:
          type: string
      - name: X-MultiMail-Approval-Code
        in: header
        required: false
        schema:
          type: string
        description: Operator-delivered single-use proof for the exact request. Without proof, HTTP 202 requests operator approval and does not complete the operation. Confirmation booleans and MCP UI hints cannot grant authority.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                scopes:
                  type: array
                  items:
                    type: string
                    enum:
                    - read
                    - send
                    - admin
                    - oversight
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: updated
        '202':
          description: Operator approval requested; operation not completed
        '404':
          description: Key not found
      tags:
      - API Keys
      operationId: patchV1ApiKeysByKeyId
      x-operation-id-source: derived
    delete:
      summary: Revoke an API key
      description: Requires admin scope. Returns 202 with pending_approval on first call; resend with approval_code to complete.
      security:
      - bearerAuth: []
      parameters:
      - name: keyId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                approval_code:
                  type: string
                  description: Operator approval code (from email). Omit on first call to request approval.
      responses:
        '200':
          description: Revoked
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: revoked
        '202':
          description: Approval requested — check oversight email for code
        '403':
          description: Invalid approval code
        '404':
          description: Key not found or no pending approval
      tags:
      - API Keys
      operationId: deleteV1ApiKeysByKeyId
      x-operation-id-source: derived
components:
  schemas:
    ApiKeyInfo:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        prefix:
          type: string
          description: Key prefix (e.g. mm_live_abc...)
        scopes:
          type: array
          items:
            type: string
            enum:
            - read
            - send
            - admin
            - oversight
        created_at:
          type: string
          format: date-time
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
        is_active:
          type: boolean
  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).'