> ## Documentation Index
> Fetch the complete documentation index at: https://apidoc.mailercloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Domains

> List the sending domains in your account with their status — the same domains and statuses as **Account Settings → Domains** in the app.

Filter by `status` to find the domains that still need DNS work, and search by name.

Domain status:
- `verified` — the domain is authenticated and ready to send.
- `not_verified` — the DNS records are not all in place yet (or not checked yet).
- `failed` — at least one DNS record was found but is wrong (see the record's `error_message` in Get a Domain).



## OpenAPI

````yaml /openapi-v1.json post /domains/search
openapi: 3.1.0
info:
  title: Mailercloud Marketing API
  version: 1.0.0
  description: >-
    Campaigns, contacts, lists, segments, automations, and webhooks for the
    Mailercloud Marketing Platform.
servers:
  - url: https://cloudapi.mailercloud.com/v1
security:
  - apiKey: []
tags:
  - name: Campaigns
  - name: Contacts
  - name: Lists
  - name: Tags
  - name: Segments
  - name: Custom Properties
  - name: Senders
  - name: Domains
  - name: Templates
  - name: Automations
  - name: Webhooks
  - name: Webforms
  - name: Inbox Tracker
  - name: Account
paths:
  /domains/search:
    post:
      tags:
        - Domains
      summary: List Domains
      description: >-
        List the sending domains in your account with their status — the same
        domains and statuses as **Account Settings → Domains** in the app.


        Filter by `status` to find the domains that still need DNS work, and
        search by name.


        Domain status:

        - `verified` — the domain is authenticated and ready to send.

        - `not_verified` — the DNS records are not all in place yet (or not
        checked yet).

        - `failed` — at least one DNS record was found but is wrong (see the
        record's `error_message` in Get a Domain).
      operationId: list-domains
      parameters:
        - name: Content-Type
          in: header
          required: true
          description: Request body type
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - page
                - limit
              properties:
                page:
                  type: number
                  minimum: 1
                  description: |-
                    Page number.

                    Starts From: 1
                limit:
                  type: number
                  minimum: 10
                  maximum: 100
                  description: |-
                    Number of domains per page.

                    Minimum: 10
                    Maximum: 100
                search:
                  type: string
                  maxLength: 255
                  description: Part of the domain name. Not case sensitive.
                status:
                  type: string
                  enum:
                    - verified
                    - not_verified
                    - failed
                  description: Only return domains with this status.
                sort_field:
                  type: string
                  enum:
                    - created_at
                    - domain
                  description: |-
                    Sort by this field.

                    Default: created_at
                sort_order:
                  type: string
                  enum:
                    - asc
                    - desc
                  description: |-
                    Sort order.

                    Default: desc (newest first)
            examples:
              All domains:
                value:
                  limit: 10
                  page: 1
              Failed domains:
                value:
                  page: 1
                  limit: 10
                  status: failed
              Search and sort:
                value:
                  page: 1
                  limit: 10
                  search: example
                  sort_field: domain
                  sort_order: asc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Domain ID
                        domain:
                          type: string
                          description: Domain name
                        status:
                          type: string
                          enum:
                            - verified
                            - not_verified
                            - failed
                          description: >-
                            Domain status:

                            - `verified` — the domain is authenticated and ready
                            to send.

                            - `not_verified` — the DNS records are not all in
                            place yet (or not checked yet).

                            - `failed` — at least one DNS record was found but
                            is wrong (see the record's `error_message` in Get a
                            Domain).
                        open_tracking:
                          type: boolean
                          description: >-
                            Open tracking for Email API / SMTP sends from this
                            domain. No effect on marketing campaigns.
                        created_at:
                          type: string
                          description: When the domain was added (ISO 8601, UTC)
                  count:
                    type: number
                    description: Total number of domains that match (all pages)
              examples:
                Example-1:
                  value:
                    data:
                      - id: zjAKXb
                        domain: example.com
                        status: verified
                        open_tracking: false
                        created_at: '2026-10-13T09:43:00Z'
                      - id: ZZaSaZ
                        domain: news.example.com
                        status: not_verified
                        open_tracking: false
                        created_at: '2026-10-12T14:58:14Z'
                    count: 2
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                        message:
                          type: string
              examples:
                Invalid limit:
                  value:
                    errors:
                      - field: limit
                        message: Limit must be 10 or greater
                Invalid status:
                  value:
                    errors:
                      - field: status
                        message: Status must be one of [verified not_verified failed]
                Missing page:
                  value:
                    errors:
                      - field: page
                        message: Page is a required field
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                        message:
                          type: string
              examples:
                Example-1:
                  value:
                    errors:
                      - field: ''
                        message: Authorization failed
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              examples:
                Example-1:
                  value:
                    message: Too Many Requests
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              examples:
                Example-1:
                  value:
                    message: >-
                      Sorry, we are experiencing some technical difficulties.
                      Please try after some time.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your Mailercloud API key (plain text, no Bearer prefix). Create keys in
        Settings → API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.