mailX API

mailX API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

GitHub OpenAPI

Operations 16

POST /api/v1/bimi-check POST /api/v1/bimi-check #
POST /api/v1/bimi-host POST /api/v1/bimi-host #
POST /api/v1/blacklist-check POST /api/v1/blacklist-check #
POST /api/v1/combine POST /api/v1/combine #
POST /api/v1/dkim-check POST /api/v1/dkim-check #
POST /api/v1/dmarc-check POST /api/v1/dmarc-check #
POST /api/v1/dmarc-generate POST /api/v1/dmarc-generate #
POST /api/v1/imap-check POST /api/v1/imap-check #
POST /api/v1/imap-finder POST /api/v1/imap-finder #
POST /api/v1/smtp-check POST /api/v1/smtp-check #
POST /api/v1/smtp-finder POST /api/v1/smtp-finder #
POST /api/v1/spf-check POST /api/v1/spf-check #
POST /api/v1/spf-generate POST /api/v1/spf-generate #
POST /mcp MCP & AI Agent Integration - mailX #
POST /v1/messages POST /v1/messages #
POST /v1/responses POST /v1/responses #

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/themailx-com:themailx-com-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

themailx-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: mailX API
  version: '2026-11-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-26: 16 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; mailX has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 15
    documentation: 1
    pages-with-code: 2
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://themailx.com/docs/api
  - https://themailx.com/docs/mcp
servers:
- url: https://themailx.com
paths:
  /api/v1/bimi-check:
    post:
      operationId: post_api_v1_bimi_check
      tags:
      - Api
      summary: POST /api/v1/bimi-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1BimiCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/bimi-check  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          \n}' \n Deliverability Tools \n SMTP Checker smtp-check \n Use this only when the user explicitly asks to test an SMTP login for a mail\
          \ account they control and provides its credentials. Connects to the SMTP server and reports whether connection, encryption and authentication\
          \ su"
  /api/v1/bimi-host:
    post:
      operationId: post_api_v1_bimi_host
      tags:
      - Api
      summary: POST /api/v1/bimi-host
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1BimiHostRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1BimiHostResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/bimi-host  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          ,\n \"bimi_file\": \"https://example.com/logo.svg\"\n}' \n Server Finders \n SMTP Finder smtp-finder \n Use this when the user needs\
          \ the outgoing mail (SMTP) server settings for an email provider or sending service, such as Gmail, Outlook, Microsoft 365, Zoho, Amazon\
          \ SES or SendGrid. "
  /api/v1/blacklist-check:
    post:
      operationId: post_api_v1_blacklist_check
      tags:
      - Api
      summary: POST /api/v1/blacklist-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1BlacklistCheckRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1BlacklistCheckResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/blacklist-check  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"\
          example.com\"\n}' \n Generators \n DMARC Generator dmarc-generate \n Use this when the user needs a DMARC record. Returns the record\
          \ name, value and type ready to publish. mailX does not publish it. \n Parameter Type Required Description \n domain_name \n string\
          \ \n Yes \n The domain to gener"
  /api/v1/combine:
    post:
      operationId: post_api_v1_combine
      tags:
      - Api
      summary: POST /api/v1/combine
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1CombineRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1CombineResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/combine  -H \"Content-Type: application/json\"  -d '{\n \"inputs\": {\n \"domain_name\"\
          : \"google.com\"\n },\n \"tools\": [\"spf-check\", \"dmarc-check\", \"bimi-check\", \"blacklist-check\"]\n }' \n Parameter Type Required\
          \ Description \n inputs object Yes Key-value pairs of input fields (shared across tools) \n tools array Yes Array of tool endpoint names\
          \ to run \n Note: Results are"
  /api/v1/dkim-check:
    post:
      operationId: post_api_v1_dkim_check
      tags:
      - Api
      summary: POST /api/v1/dkim-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1DkimCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/dkim-check  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          ,\n \"dkim_selector\": \"google\"\n}' \n DMARC dmarc-check \n Use this when the user asks about DMARC, spoofing protection, or what\
          \ happens to emails that fail authentication. Returns the live DMARC record, its policy and a fix suggestion. \n Parameter Type Required\
          \ Description \n dom"
  /api/v1/dmarc-check:
    post:
      operationId: post_api_v1_dmarc_check
      tags:
      - Api
      summary: POST /api/v1/dmarc-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1DmarcCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/dmarc-check  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          \n}' \n BIMI bimi-check \n Use this when the user asks about BIMI or showing a brand logo next to their emails in inboxes. Returns the\
          \ live BIMI record, the logo URL it declares, and a fix suggestion. \n Parameter Type Required Description \n domain_name \n string\
          \ \n Yes \n The dom"
  /api/v1/dmarc-generate:
    post:
      operationId: post_api_v1_dmarc_generate
      tags:
      - Api
      summary: POST /api/v1/dmarc-generate
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1DmarcGenerateRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1DmarcGenerateResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/dmarc-generate  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"\
          example.com\",\n \"email\": \"admin@example.com\",\n \"dmarc_policy\": \"quarantine\"\n}' \n SPF Generator spf-generate \n Use this\
          \ when the user needs a new SPF record for their email provider. Returns a TXT record ready to publish, or explains what to set up instead\
          \ when the provider does not n"
  /api/v1/imap-check:
    post:
      operationId: post_api_v1_imap_check
      tags:
      - Api
      summary: POST /api/v1/imap-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ImapCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/imap-check  -H \"Content-Type: application/json\"  -d '{\n \"imap_host\": \"imap.gmail.com\"\
          ,\n \"imap_port\": \"993\",\n \"username\": \"user@gmail.com\",\n \"password\": \"app-password\",\n \"imap_encryption\": \"tls\"\n}'\
          \ \n Blacklist Checker blacklist-check \n Use this when the user suspects their domain is blacklisted or blocked. Checks the domain\
          \ against major DNS blocklists and r"
  /api/v1/imap-finder:
    post:
      operationId: post_api_v1_imap_finder
      tags:
      - Api
      summary: POST /api/v1/imap-finder
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ImapFinderRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ImapFinderResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/imap-finder  -H \"Content-Type: application/json\"  -d '{\n \"imap_provider_name\"\
          : \"Google Workspace\"\n}' \n Combined Test \n Run multiple tools at once against a domain. Returns individual results for each tool. "
  /api/v1/smtp-check:
    post:
      operationId: post_api_v1_smtp_check
      tags:
      - Api
      summary: POST /api/v1/smtp-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SmtpCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/smtp-check  -H \"Content-Type: application/json\"  -d '{\n \"host\": \"smtp.gmail.com\"\
          ,\n \"port\": \"587\",\n \"username\": \"user@gmail.com\",\n \"password\": \"app-password\",\n \"encryption\": \"tls\",\n \"from_email\"\
          : \"value\",\n \"to_email\": \"value\"\n}' \n IMAP Checker imap-check \n Use this only when the user explicitly asks to test an IMAP\
          \ login for a mailbox they control and provid"
  /api/v1/smtp-finder:
    post:
      operationId: post_api_v1_smtp_finder
      tags:
      - Api
      summary: POST /api/v1/smtp-finder
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SmtpFinderRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1SmtpFinderResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/smtp-finder  -H \"Content-Type: application/json\"  -d '{\n \"provider_name\": \"Google\
          \ Workspace\"\n}' \n IMAP Finder imap-finder \n Use this when the user needs the incoming mail (IMAP) server settings for an email provider,\
          \ such as Gmail, Outlook, Yahoo, iCloud or Zoho. Returns the host, ports with encryption and the provider's setup guide. Never asks\
          \ for the user"
  /api/v1/spf-check:
    post:
      operationId: post_api_v1_spf_check
      tags:
      - Api
      summary: POST /api/v1/spf-check
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SpfCheckRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/spf-check  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          \n}' \n DKIM dkim-check \n Use this when the user wants to verify DKIM for a domain. Pass the DKIM selector if known (for example google\
          \ for Google Workspace, selector1 or selector2 for Microsoft 365). If the selector is unknown, omit it: mailX then tries common selectors\
          \ and re"
  /api/v1/spf-generate:
    post:
      operationId: post_api_v1_spf_generate
      tags:
      - Api
      summary: POST /api/v1/spf-generate
      x-source: https://themailx.com/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1SpfGenerateRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1SpfGenerateResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://themailx.com/api/v1/spf-generate  -H \"Content-Type: application/json\"  -d '{\n \"domain_name\": \"example.com\"\
          ,\n \"provider\": \"Google Workspace\",\n \"hard_fail_boolean\": true\n}' \n BIMI Host bimi-host \n Host and serve your BIMI SVG file\
          \ for email authentication \n Parameter Type Required Description \n domain_name \n string \n Yes \n eg. example.com \n bimi_file \n\
          \ file \n Yes \n Upload your B"
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: MCP & AI Agent Integration - mailX
      description: All communication is via POST to a single endpoint using JSON‑RPC 2.0 over HTTP. The request body must be a JSON‑RPC object
        as shown in the examples.
      x-source: https://themailx.com/docs/mcp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: documentation
  /v1/messages:
    post:
      operationId: post_v1_messages
      tags:
      - Messages
      summary: POST /v1/messages
      x-source: https://themailx.com/docs/mcp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MessagesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.anthropic.com/v1/messages  -H \"x-api-key: $ANTHROPIC_API_KEY\"  -H \"content-type: application/json\"\
          \  -H \"anthropic-version: 2023-06-01\"  -H \"anthropic-beta: mcp-client-2025-11-20\"  -d '{\n \"model\": \"claude-opus-4-7\",\n \"\
          max_tokens\": 4096,\n \"mcp_servers\": [{\n \"type\": \"url\",\n \"url\": \"https://themailx.com/mcp\",\n \"name\": \"mailx\"\n }],\n\
          \ \"tools\": [{\n \"type\": \"mcp_toolset\",\n \"mcp_ser"
  /v1/responses:
    post:
      operationId: post_v1_responses
      tags:
      - Responses
      summary: POST /v1/responses
      x-source: https://themailx.com/docs/mcp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ResponsesRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1ResponsesResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.openai.com/v1/responses  -H \"Authorization: Bearer $OPENAI_API_KEY\"  -H \"Content-Type: application/json\"\
          \  -d '{\n \"model\": \"gpt-5.5\",\n \"tools\": [{\n \"type\": \"mcp\",\n \"server_label\": \"mailx\",\n \"server_url\": \"https://themailx.com/mcp\"\
          ,\n \"require_approval\": \"never\"\n }],\n \"input\": \"Check the SPF and DMARC records for mailwarm.net\"\n }' \n Anthropic Messages\
          \ API \n Use MCP tools dire"
components:
  schemas:
    PostApiV1BimiCheckRequest:
      type: object
      properties:
        domain_name:
          type: string
    PostApiV1BimiHostRequest:
      type: object
      properties:
        domain_name:
          type: string
        bimi_file:
          type: string
    PostApiV1BimiHostResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1BlacklistCheckRequest:
      type: object
      properties:
        domain_name:
          type: string
    PostApiV1BlacklistCheckResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1CombineRequest:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1CombineResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1DkimCheckRequest:
      type: object
      properties:
        domain_name:
          type: string
        dkim_selector:
          type: string
    PostApiV1DmarcCheckRequest:
      type: object
      properties:
        domain_name:
          type: string
    PostApiV1DmarcGenerateRequest:
      type: object
      properties:
        domain_name:
          type: string
        email:
          type: string
        dmarc_policy:
          type: string
    PostApiV1DmarcGenerateResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1ImapCheckRequest:
      type: object
      properties:
        imap_host:
          type: string
        imap_port:
          type: string
        username:
          type: string
        password:
          type: string
        imap_encryption:
          type: string
    PostApiV1ImapFinderRequest:
      type: object
      properties:
        imap_provider_name:
          type: string
    PostApiV1ImapFinderResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1SmtpCheckRequest:
      type: object
      properties:
        host:
          type: string
        port:
          type: string
        username:
          type: string
        password:
          type: string
        encryption:
          type: string
        from_email:
          type: string
        to_email:
          type: string
    PostApiV1SmtpFinderRequest:
      type: object
      properties:
        provider_name:
          type: string
    PostApiV1SmtpFinderResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostApiV1SpfCheckRequest:
      type: object
      properties:
        domain_name:
          type: string
    PostApiV1SpfGenerateRequest:
      type: object
      properties:
        domain_name:
          type: string
        provider:
          type: string
        hard_fail_boolean:
          type: boolean
    PostApiV1SpfGenerateResponse:
      type: object
      properties:
        inputs:
          type: object
          properties:
            domain_name:
              type: string
        tools:
          type: array
          items:
            type: string
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC version, e.g. "2.0"
        method:
          type: string
          description: MCP method to invoke, e.g. "initialize", "tools/list", "tools/call"
        id:
          type: integer
          description: Request identifier
        params:
          type: object
          description: Method‑specific parameters
      required:
      - jsonrpc
      - method
      - id
    PostMcpResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC version
        id:
          type: integer
          description: Matches the request id
        result:
          type: object
          description: Method‑specific result object
        error:
          type: object
          description: Error object if the call failed
    PostV1MessagesRequest:
      type: object
      properties:
        model:
          type: string
        max_tokens:
          type: integer
        mcp_servers:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              url:
                type: string
              name:
                type: string
        tools:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              mcp_server_name:
                type: string
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              content:
                type: string
    PostV1ResponsesRequest:
      type: object
      properties:
        model:
          type: string
        tools:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              server_label:
                type: string
              server_url:
                type: string
              require_approval:
                type: string
        input:
          type: string
    PostV1ResponsesResponse:
      type: object
      properties:
        model:
          type: string
        tools:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              server_label:
                type: string
              server_url:
                type: string
              require_approval:
                type: string
        input:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Mcp
- name: Messages
- name: Responses