Lumail Domains API

Sending domain registration and DNS.

GitHub OpenAPI

Operations 2

GET /api/v2/domains List sending domains #
POST /api/v2/domains Create a sending 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/lumail-io:lumail-io-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

lumail-io-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lumail REST Domains API
  version: 1.0.0
  summary: Organization-scoped email operations for applications and agents.
  description: Create and manage subscribers, tags, events, campaigns, and transactional email in Lumail. Every operation uses an organization API token as a Bearer credential.
  contact:
    name: Lumail support
    email: contact@lumail.io
    url: https://lumail.io/support
  license:
    name: Proprietary
    url: https://lumail.io/legal/terms
servers:
- url: https://lumail.io
  description: Lumail production API
tags:
- name: Domains
  description: Sending domain registration and DNS.
paths:
  /api/v2/domains:
    get:
      operationId: listDomainsV2
      summary: List sending domains
      description: Returns sending domains for the authenticated organization.
      tags:
      - Domains
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2DomainListResponse'
        '400':
          description: The request could not be validated or completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The bearer token is missing, invalid, or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested organization resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: The organization API rate limit was exceeded.
          headers:
            Retry-After:
              description: Seconds until another request should be attempted.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    post:
      operationId: createDomainV2
      summary: Create a sending domain
      description: Registers a sending domain in an SES region (Frankfurt by default) and returns the DNS records to add.
      tags:
      - Domains
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V2CreateDomainInput'
      responses:
        '200':
          description: The operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '400':
          description: The request could not be validated or completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The bearer token is missing, invalid, or expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested organization resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: The organization API rate limit was exceeded.
          headers:
            Retry-After:
              description: Seconds until another request should be attempted.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    V2CreateDomainInput:
      type: object
      required:
      - domain
      properties:
        domain:
          type: string
          minLength: 1
        region:
          type: string
          enum:
          - AP_SOUTHEAST_2
          - EU_CENTRAL_1
          - US_WEST_1
          description: SES sending region for this domain; defaults to Frankfurt. Cannot be changed after creation.
      additionalProperties: false
    SuccessResponse:
      type: object
      additionalProperties: true
    V2DomainListResponse:
      type: object
      required:
      - object
      - data
      - has_more
      properties:
        object:
          type: string
          const: list
        has_more:
          type: boolean
        data:
          type: array
          items:
            type: object
    ErrorResponse:
      type: object
      required:
      - name
      - message
      - statusCode
      properties:
        name:
          type: string
        message:
          type: string
        statusCode:
          type: integer
        details:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Lumail organization API token
      description: 'Create an organization API token in Lumail and send it as Authorization: Bearer lum_....'
externalDocs:
  description: Lumail API and agent documentation
  url: https://lumail.io/docs/api-reference