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

# List Domains

> Every sending domain of your workspace, with its status and DNS records

Guide: [Senders and domains](https://docs.minimo.it/embedded/senders-and-sending.md). Errors: [Errors and limits](https://docs.minimo.it/embedded/errors.md).


## OpenAPI

````yaml get /public/v1/domains
openapi: 3.1.0
info:
  title: API Documentation
  description: Documentation for transactional and subscribe APIs
  version: 1.0.0
servers:
  - url: https://app.minimo.it
security:
  - bearerAuth: []
paths:
  /public/v1/domains:
    servers:
      - url: https://api.minimo.it
    get:
      summary: List domains
      description: >-
        Every sending domain of your workspace, with its status and DNS records.
        The record statuses are from the last check: call Verify Domain for a
        live one.
      operationId: listDomains
      responses:
        '200':
          description: The domains
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Domain'
              example:
                data:
                  - id: 812
                    domain: pizzeria-mario.example
                    role: transactional
                    status: verified
                    readyToSend: true
                    sesStatus: success
                    lastCheckedAt: '2026-11-15T10:00:00.000Z'
                    records:
                      - type: TXT
                        host: pizzeria-mario.example
                        value: mn-…
                        status: verified
                      - type: CNAME
                        host: abc123._domainkey.pizzeria-mario.example
                        value: abc123.dkim.amazonses.com
                        status: verified
                      - type: TXT
                        host: _dmarc.pizzeria-mario.example
                        value: v=DMARC1; p=none;
                        status: verified
                      - type: MX
                        host: bounce.pizzeria-mario.example
                        value: feedback-smtp.eu-central-1.amazonses.com
                        priority: 10
                        status: verified
        '401':
          description: >-
            `INVALID_TOKEN`: missing or wrong key, or a key without the
            **Domains** permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
      x-codeSamples:
        - label: cURL
          lang: bash
          source: |-
            curl --request GET \
              --url 'https://api.minimo.it/public/v1/domains' \
              --header 'Authorization: Bearer YOUR_MINIMO_KEY'
        - lang: JavaScript
          source: |-
            const res = await fetch('https://api.minimo.it/public/v1/domains', {
              method: 'GET',
              headers: {
                Authorization: 'Bearer YOUR_MINIMO_KEY',
              },
            });
            const { data } = await res.json();
            console.log(data);
        - lang: Python
          source: |-
            import requests

            res = requests.get(
                'https://api.minimo.it/public/v1/domains',
                headers={'Authorization': 'Bearer YOUR_MINIMO_KEY'},
            )
            print(res.status_code, res.text)
components:
  schemas:
    Domain:
      type: object
      properties:
        id:
          type: integer
          example: 812
        domain:
          type: string
          example: pizzeria-mario.example
        role:
          type: string
          enum:
            - transactional
            - marketing
          description: >-
            `transactional`: the main domain (default sender `info@`).
            `marketing`: a subdomain for campaigns such as `news.` (default
            sender `hello@`).
        status:
          type: string
          enum:
            - verified
            - pending
            - failed
          description: >-
            `verified`: the domain can send. `pending`: waiting for the DNS
            records. `failed`: the records were missing for about 72 hours: fix
            them and call Verify Domain again.
        readyToSend:
          type: boolean
          description: '`true` when emails can go out from this domain now.'
        sesStatus:
          type: string
          nullable: true
          description: Raw status from the email provider, for debugging.
          example: pending
        lastCheckedAt:
          type: string
          nullable: true
          format: date-time
          description: Last check.
        records:
          type: array
          items:
            $ref: '#/components/schemas/DnsRecord'
          description: The DNS records to publish.
      required:
        - id
        - domain
        - role
        - status
        - readyToSend
        - sesStatus
        - lastCheckedAt
        - records
    ApiError:
      type: object
      properties:
        status:
          type: string
          example: FAIL
        message:
          type: string
          description: The error code to test in your code.
          example: INVALID_PARAMETERS
        userMessage:
          type: string
          description: >-
            When present, a sentence that says what to fix. You can show or log
            it.
          example: Set the origins allowed to embed the widgets first.
      description: >-
        Every error has this shape. See [Errors and limits](/embedded/errors)
        for every code.
    DnsRecord:
      type: object
      properties:
        type:
          type: string
          enum:
            - TXT
            - CNAME
            - MX
        host:
          type: string
          example: abc123._domainkey.pizzeria-mario.example
        value:
          type: string
          example: abc123.dkim.amazonses.com
        priority:
          type: integer
          description: MX only.
          example: 10
        status:
          type: string
          enum:
            - verified
            - missing
            - unknown
          description: >-
            `verified`: found with the right value. `missing`: not found or a
            different value. `unknown`: not checked yet.
      required:
        - type
        - host
        - value
        - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: mn-API_CLIENT_ID-API_KEY

````

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