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

# Get a custom domain



## OpenAPI

````yaml /api-reference/openapi.json get /custom-domains/{customDomainId}
openapi: 3.1.0
info:
  title: Replo Public API
  version: '2026-07-11'
servers:
  - url: https://public-api.replo.app/api/v1/public
security: []
paths:
  /custom-domains/{customDomainId}:
    get:
      tags:
        - Custom-domains
      summary: Get a custom domain
      operationId: customDomains.get
      parameters:
        - name: Replo-Api-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2026-07-11'
          description: The public API version to use for this request.
        - schema:
            type: string
            format: uuid
          required: true
          name: customDomainId
          in: path
      responses:
        '200':
          description: Get a custom domain
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - custom_domain
                  id:
                    type: string
                    format: uuid
                  domain:
                    type: string
                  status:
                    type: string
                    enum:
                      - pending
                      - active
                      - stale
                  is_pending:
                    type: boolean
                  is_stale:
                    type: boolean
                  dns_instructions:
                    oneOf:
                      - type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - root
                          records:
                            type: array
                            items:
                              type: object
                              properties:
                                type:
                                  type: string
                                host:
                                  type: string
                                value:
                                  type: string
                              required:
                                - type
                                - host
                                - value
                              additionalProperties: false
                          verification_token:
                            type:
                              - string
                              - 'null'
                          verification_token_expires_at:
                            type:
                              - string
                              - 'null'
                        required:
                          - type
                          - records
                          - verification_token
                          - verification_token_expires_at
                        additionalProperties: false
                      - type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - subdomain
                          records:
                            type: array
                            items:
                              type: object
                              properties:
                                type:
                                  type: string
                                host:
                                  type: string
                                value:
                                  type: string
                              required:
                                - type
                                - host
                                - value
                              additionalProperties: false
                        required:
                          - type
                          - records
                        additionalProperties: false
                required:
                  - object
                  - id
                  - domain
                  - status
                  - is_pending
                  - is_stale
                  - dns_instructions
                additionalProperties: false
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '401':
          description: Missing or invalid Replo Public API token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '403':
          description: You are not authorized to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '429':
          description: >-
            Too many requests. Please retry after the time indicated by the
            Retry-After header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '500':
          description: An internal error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '503':
          description: Service temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
      security:
        - bearerAuth: []
components:
  schemas:
    PublicApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
          required:
            - code
            - message
            - doc_url
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````