MultiMail Domains API

The Domains API from MultiMail — 3 operation(s) for domains.

GitHub OpenAPI

Operations 5

POST /v1/domains Add a custom domain (Pro/Scale only) #
GET /v1/domains List custom domains #
GET /v1/domains/{id} Get custom domain detail #
DELETE /v1/domains/{id} Delete a custom domain #
POST /v1/domains/{id}/verify Trigger DNS verification for a custom domain #

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-domains-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-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MultiMail Domains 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: Domains
paths:
  /v1/domains:
    post:
      parameters:
      - 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.
      summary: Add a custom domain (Pro/Scale only)
      description: Requires admin scope. Sensitive changes require a request-bound operator code; API-key scope alone does not authorize them.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - domain
              properties:
                domain:
                  type: string
      responses:
        '201':
          description: Domain created with DNS records to configure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
        '202':
          description: Operator approval requested; operation not completed
        '403':
          description: Plan restriction
      tags:
      - Domains
      operationId: postV1Domains
      x-operation-id-source: derived
    get:
      summary: List custom domains
      description: Requires admin scope.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: List of custom domains
          content:
            application/json:
              schema:
                type: object
                properties:
                  domains:
                    type: array
                    items:
                      $ref: '#/components/schemas/Domain'
      tags:
      - Domains
      operationId: getV1Domains
      x-operation-id-source: derived
  /v1/domains/{id}:
    get:
      summary: Get custom domain detail
      description: Requires admin scope.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Domain detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
      tags:
      - Domains
      operationId: getV1DomainsById
      x-operation-id-source: derived
    delete:
      summary: Delete a custom domain
      description: Requires admin scope. Sensitive changes require a request-bound operator code; API-key scope alone does not authorize them.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        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.
      responses:
        '200':
          description: Domain deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: deleted
        '202':
          description: Operator approval requested; operation not completed
      tags:
      - Domains
      operationId: deleteV1DomainsById
      x-operation-id-source: derived
  /v1/domains/{id}/verify:
    post:
      summary: Trigger DNS verification for a custom domain
      description: Requires admin scope. Sensitive changes require a request-bound operator code; API-key scope alone does not authorize them.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        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.
      responses:
        '200':
          description: Verification result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainVerifyResult'
        '202':
          description: Operator approval requested; operation not completed
      tags:
      - Domains
      operationId: postV1DomainsByIdVerify
      x-operation-id-source: derived
components:
  schemas:
    DomainVerifyResult:
      type: object
      properties:
        id:
          type: string
        domain:
          type: string
        status:
          type: string
          enum:
          - pending
          - active
        dkim_verified:
          type: boolean
        spf_verified:
          type: boolean
        mx_verified:
          type: boolean
        return_path_verified:
          type: boolean
        verified_at:
          type:
          - string
          - 'null'
          format: date-time
    Domain:
      type: object
      properties:
        id:
          type: string
        domain:
          type: string
        status:
          type: string
          enum:
          - pending
          - active
        dkim_verified:
          type: boolean
        spf_verified:
          type: boolean
        mx_verified:
          type: boolean
        return_path_verified:
          type: boolean
        dns_records:
          type:
          - object
          - 'null'
        created_at:
          type: string
          format: date-time
        verified_at:
          type:
          - string
          - 'null'
          format: date-time
  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).'