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

# Get Domain

> Return customer-facing domain detail.

<script src="/locale-bridge.js" />


## OpenAPI

````yaml /openapi.en.json GET /v1/public/accounts/{account_id}/domains/{domain}
openapi: 3.1.0
info:
  title: Code API (Public)
  version: 1.0.0
servers:
  - url: https://api.hybridbox.io
security: []
paths:
  /v1/public/accounts/{account_id}/domains/{domain}:
    get:
      tags:
        - public-accounts
        - public-domains
      summary: Get Domain
      description: Return customer-facing domain detail.
      operationId: get_public_domain_v1_public_accounts__account_id__domains__domain__get
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            format: uuid
            title: Account Id
            type: string
        - in: path
          name: domain
          required: true
          schema:
            title: Domain
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainDetailResponse'
          description: ''
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - PublicBearerAuth: []
components:
  schemas:
    DomainDetailResponse:
      properties:
        auto_renew:
          default: false
          description: Whether domain auto-renewal is enabled
          title: Auto Renew
          type: boolean
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          description: Domain creation timestamp
          title: Created At
        dedicated_ip_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Assigned dedicated IP UUID, if any
          title: Dedicated Ip Id
        dns_records:
          description: DNS records for the domain
          items:
            $ref: '#/components/schemas/DomainDnsRecordResponse'
          title: Dns Records
          type: array
        id:
          description: Domain UUID
          format: uuid
          title: Id
          type: string
        inbound_tenant_external_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Provider external ID for the inbound tenant
          title: Inbound Tenant External Id
        inbound_tenant_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Inbound tenant UUID, if assigned
          title: Inbound Tenant Id
        inbound_tenant_name:
          anyOf:
            - type: string
            - type: 'null'
          description: Inbound tenant display name, if assigned
          title: Inbound Tenant Name
        inbound_tenant_type:
          anyOf:
            - type: string
            - type: 'null'
          description: Inbound tenant type, if assigned
          title: Inbound Tenant Type
        mailboxes:
          description: Mailboxes on the domain
          items:
            $ref: '#/components/schemas/DomainMailboxSummary'
          title: Mailboxes
          type: array
        name:
          description: Domain name
          title: Name
          type: string
        outbound_routing_ready:
          description: Whether outbound routing is ready
          title: Outbound Routing Ready
          type: boolean
        redirect_mode:
          anyOf:
            - enum:
                - '301'
                - '302'
                - iframe
              type: string
            - type: 'null'
          description: Configured redirect mode, if any
          title: Redirect Mode
        redirect_url:
          anyOf:
            - type: string
            - type: 'null'
          description: Configured redirect URL, if any
          title: Redirect Url
        status:
          description: Domain lifecycle status
          title: Status
          type: string
        tags:
          description: Tags attached to the domain
          items:
            $ref: '#/components/schemas/DomainTagResponse'
          title: Tags
          type: array
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          description: Domain last update timestamp
          title: Updated At
        workspace_id:
          description: Workspace UUID that contains the domain
          format: uuid
          title: Workspace Id
          type: string
      required:
        - id
        - name
        - status
        - workspace_id
        - outbound_routing_ready
      title: DomainDetailResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    DomainDnsRecordResponse:
      description: DNS record embedded in domain details.
      properties:
        id:
          description: DNS record identifier
          title: Id
          type: integer
        is_system_managed:
          default: false
          description: Whether the record is managed by HybridBox
          title: Is System Managed
          type: boolean
        name:
          description: DNS record name
          title: Name
          type: string
        priority:
          anyOf:
            - type: integer
            - type: 'null'
          description: DNS record priority when applicable
          title: Priority
        ttl:
          description: DNS record TTL in seconds
          title: Ttl
          type: integer
        type:
          description: DNS record type
          title: Type
          type: string
        value:
          description: DNS record value
          title: Value
          type: string
      required:
        - id
        - type
        - name
        - value
        - ttl
      title: DomainDnsRecordResponse
      type: object
    DomainMailboxSummary:
      description: Mailbox summary embedded in domain details.
      properties:
        active:
          description: Whether the mailbox is active
          title: Active
          type: boolean
        email:
          description: Primary mailbox email address
          title: Email
          type: string
        first_name:
          description: Mailbox user first name
          title: First Name
          type: string
        id:
          description: Mailbox UUID
          format: uuid
          title: Id
          type: string
        last_name:
          description: Mailbox user last name
          title: Last Name
          type: string
      required:
        - id
        - email
        - first_name
        - last_name
        - active
      title: DomainMailboxSummary
      type: object
    DomainTagResponse:
      description: Tag attached to a domain.
      properties:
        id:
          description: Tag UUID
          format: uuid
          title: Id
          type: string
        name:
          description: Tag display name
          title: Name
          type: string
      required:
        - id
        - name
      title: DomainTagResponse
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    PublicBearerAuth:
      bearerFormat: JWT or Hybridbox Service account token
      description: >-
        Public API bearer credential sent as `Authorization: Bearer <token>`.
        Use either an OAuth access token or a Hybridbox Service account token.
      scheme: bearer
      type: http

````