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

# List domains

> Retrieve a paginated list of all domains in your account, including their DNS records and verification status.



## OpenAPI

````yaml GET /domains
openapi: 3.1.0
info:
  title: SendKit API
  description: The SendKit API allows you to send transactional emails programmatically.
  version: 1.0.0
servers:
  - url: https://api.sendkit.dev
security:
  - bearerAuth: []
paths:
  /domains:
    get:
      tags:
        - Domains
      summary: List domains
      description: >-
        Retrieve a paginated list of all domains in your account, including
        their DNS records and verification status.
      operationId: listDomains
      responses:
        '200':
          description: A paginated list of domains
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDomains'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PaginatedDomains:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Domain'
        links:
          $ref: '#/components/schemas/PaginationLinks'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Domain:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier.
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: The domain name.
          example: yourdomain.com
        status:
          type: string
          enum:
            - not_started
            - pending
            - verified
            - partially_verified
            - failed
            - temporary_failure
          description: The current verification status of the domain.
          example: verified
        region:
          type: string
          description: The AWS region where the domain is configured.
          enum:
            - sa-east-1
            - us-east-2
            - eu-central-1
          example: us-east-2
        open_tracking:
          type: boolean
          description: Whether open tracking is enabled.
          example: true
        click_tracking:
          type: boolean
          description: Whether click tracking is enabled.
          example: true
        tls:
          type: string
          enum:
            - opportunistic
            - enforced
          description: The TLS delivery mode.
          example: opportunistic
        sending_enabled:
          type: boolean
          description: Whether sending is enabled for this domain.
          example: true
        dns_records:
          type: array
          items:
            $ref: '#/components/schemas/DnsRecord'
          description: The DNS records that need to be configured for this domain.
        created_at:
          type: string
          format: date-time
          description: When the domain was created.
          example: '2026-03-03 10:00:00'
        updated_at:
          type: string
          format: date-time
          description: When the domain was last updated.
          example: '2026-03-03 10:00:00'
    PaginationLinks:
      type: object
      properties:
        first:
          type:
            - string
            - 'null'
          description: URL to the first page.
          example: https://api.sendkit.dev/contacts?page=1
        last:
          type:
            - string
            - 'null'
          description: URL to the last page.
          example: https://api.sendkit.dev/contacts?page=3
        prev:
          type:
            - string
            - 'null'
          description: URL to the previous page, or null if on the first page.
          example: null
        next:
          type:
            - string
            - 'null'
          description: URL to the next page, or null if on the last page.
          example: https://api.sendkit.dev/contacts?page=2
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
          description: The current page number.
          example: 1
        from:
          type:
            - integer
            - 'null'
          description: The index of the first item on the current page.
          example: 1
        last_page:
          type: integer
          description: The last available page number.
          example: 3
        per_page:
          type: integer
          description: The number of items per page.
          example: 25
        to:
          type:
            - integer
            - 'null'
          description: The index of the last item on the current page.
          example: 25
        total:
          type: integer
          description: The total number of items.
          example: 75
        path:
          type: string
          description: The base URL for the paginated resource.
          example: https://api.sendkit.dev/contacts
    ErrorResponse:
      type: object
      properties:
        name:
          type: string
          description: Error type identifier.
          example: validation_error
        message:
          type: string
          description: Human-readable error message.
          example: The from address domain is not verified.
    DnsRecord:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier.
          example: 550e8400-e29b-41d4-a716-446655440000
        record_type:
          type: string
          enum:
            - SPF
            - DKIM
            - DMARC
            - MX
            - CNAME
            - TXT
          description: The type of DNS record.
          example: DKIM
        name:
          type: string
          description: The DNS record name (hostname).
          example: sendkit._domainkey.yourdomain.com
        value:
          type: string
          description: The DNS record value.
          example: v=DKIM1; k=rsa; p=MIGfMA0...
        ttl:
          type: integer
          description: Time to live in seconds.
          example: 3600
        status:
          type: string
          enum:
            - not_started
            - verified
            - failed
          description: The verification status of this DNS record.
          example: verified
        priority:
          type:
            - integer
            - 'null'
          description: The priority of the DNS record (for MX records).
          example: 10
        created_at:
          type: string
          format: date-time
          description: When the record was created.
          example: '2026-03-03 10:00:00'
        updated_at:
          type: string
          format: date-time
          description: When the record was last updated.
          example: '2026-03-03 10:00:00'
  responses:
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            message: Invalid API key.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from your SendKit dashboard. Pass it as a Bearer token in the
        Authorization header.

````