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

# Get domain

> **Get detailed domain information**

Retrieve complete details about a specific domain including configuration status and DNS records.

## Response Includes

- Domain identification and status
- Nameservers to configure
- DNS records (SPF, DKIM, MX)
- Inbox capacity

## Example Usage

```python
import requests

domain_id = "550e8400-e29b-41d4-a716-446655440000"

response = requests.get(
    f"https://api.coldsend.io/api/public/v1/domains/{domain_id}",
    headers={"X-API-Key": "your-api-key"}
)

print(response.json())
```



## OpenAPI

````yaml /public_openapi.json get /api/public/v1/domains/{domain_id}
openapi: 3.0.3
info:
  title: ColdSend Public API
  description: >-
    Programmatic access to ColdSend for managing cold email campaigns and sender
    accounts.
  version: 1.0.0
  contact:
    name: ColdSend Support
    email: support@coldsend.pro
    url: https://coldsend.pro
servers:
  - url: https://api.coldsend.pro
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/public/v1/domains/{domain_id}:
    get:
      tags:
        - Domains
      summary: Get domain
      description: >-
        **Get detailed domain information**


        Retrieve complete details about a specific domain including
        configuration status and DNS records.


        ## Response Includes


        - Domain identification and status

        - Nameservers to configure

        - DNS records (SPF, DKIM, MX)

        - Inbox capacity


        ## Example Usage


        ```python

        import requests


        domain_id = "550e8400-e29b-41d4-a716-446655440000"


        response = requests.get(
            f"https://api.coldsend.io/api/public/v1/domains/{domain_id}",
            headers={"X-API-Key": "your-api-key"}
        )


        print(response.json())

        ```
      operationId: get_domain_api_public_v1_domains__domain_id__get
      parameters:
        - name: domain_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Domain Id
      responses:
        '200':
          description: Domain retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: Insufficient permissions - requires 'domains:read' scope
        '404':
          description: Domain not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DomainResponse:
      properties:
        domain_id:
          type: string
          format: uuid
          title: Domain Id
          description: Domain ID
        domain_name:
          type: string
          title: Domain Name
          description: Domain name
        status:
          type: string
          title: Status
          description: Domain status
        stalwart_added:
          type: boolean
          title: Stalwart Added
          description: Whether added to Stalwart
        cloudflare_verified:
          type: boolean
          title: Cloudflare Verified
          description: Whether Cloudflare is verified
        nameservers:
          items:
            type: string
          type: array
          nullable: true
          title: Nameservers
          description: Nameservers to use
        dns_records:
          items:
            $ref: '#/components/schemas/DomainDNSRecord'
          type: array
          nullable: true
          title: Dns Records
          description: DNS records to configure
        max_inboxes:
          type: integer
          title: Max Inboxes
          description: Maximum inboxes allowed
        current_inboxes:
          type: integer
          title: Current Inboxes
          description: Current inbox count
        aggregate_health_score:
          type: number
          title: Aggregate Health Score
          description: >-
            Average health score of all inboxes on this domain (0-100). 100.0 if
            no inboxes.
        created_at:
          type: string
          title: Created At
          description: Creation timestamp
        updated_at:
          type: string
          nullable: true
          title: Updated At
          description: Last update timestamp
      type: object
      required:
        - domain_id
        - domain_name
        - status
        - stalwart_added
        - cloudflare_verified
        - max_inboxes
        - current_inboxes
        - aggregate_health_score
        - created_at
      title: DomainResponse
      description: Detailed domain response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DomainDNSRecord:
      properties:
        type:
          type: string
          title: Type
          description: Record type (MX, TXT, CNAME)
        name:
          type: string
          title: Name
          description: Record name
        value:
          type: string
          title: Value
          description: Record value
        priority:
          type: integer
          nullable: true
          title: Priority
          description: Priority (for MX records)
        ttl:
          type: integer
          title: Ttl
          description: TTL in seconds
      type: object
      required:
        - type
        - name
        - value
        - ttl
      title: DomainDNSRecord
      description: DNS record information.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key with format cs_live_xxx

````