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

# List Custom Domains

> List a hub's custom-domain rows: live rows plus recently-failed ones.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/hubs/{identifier}/custom-domains
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/teams/{team_id}/hubs/{identifier}/custom-domains:
    get:
      tags:
        - hub-custom-domains
      summary: List Custom Domains
      description: 'List a hub''s custom-domain rows: live rows plus recently-failed ones.'
      operationId: >-
        hub_custom_domains.get_hub_custom_domains_get_teams_by_team_id_hubs_by_identifier_custom_domains
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            pattern: >-
              ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
            title: Team Id
            type: string
        - in: path
          name: identifier
          required: true
          schema:
            maxLength: 100
            minLength: 1
            title: Identifier
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: >-
                  #/components/schemas/JsonApiListResponse_HubCustomDomainAttributes_
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    JsonApiListResponse_HubCustomDomainAttributes_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/JsonApiResource_HubCustomDomainAttributes_'
          title: Data
          type: array
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiPaginationLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: JsonApiListResponse[HubCustomDomainAttributes]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_HubCustomDomainAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/HubCustomDomainAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[HubCustomDomainAttributes]
      type: object
    JsonApiPaginationLinks:
      properties:
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiPaginationLinks
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        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
    HubCustomDomainAttributes:
      description: >-
        Read attributes for a ``hub_custom_domains`` resource.


        Used in every read response (list, retrieve, register-201,
        verify-200/202,

        delete-202). ``verification_token`` and ``cloudflare_hostname_id`` are

        deliberately absent — see the module comment above.
      properties:
        cloudflare_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Cloudflare Status
        cname_target:
          title: Cname Target
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        hostname:
          title: Hostname
          type: string
        last_checked_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Checked At
        last_error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error Code
        last_error_detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error Detail
        last_verified_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Verified At
        ssl_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Ssl Status
        status:
          title: Status
          type: string
        txt_record_name:
          title: Txt Record Name
          type: string
        txt_record_value:
          title: Txt Record Value
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - hostname
        - status
        - cname_target
        - txt_record_name
        - txt_record_value
        - created_at
        - updated_at
      title: HubCustomDomainAttributes
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````