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

# List the domains of the application

> List the domains of the application, as shown on its settings page: its Qovery domain (`kind` `QOVERY`, read-only) and each custom domain it routes (`kind` `CUSTOM`).
A custom domain also lists the other services routing it, so a client can tell removing this application's route from deleting the domain.




## OpenAPI

````yaml /api-reference/openapi.yaml get /application/{applicationId}/customDomainView
openapi: 3.0.0
info:
  version: 1.0.4
  title: Qovery API
  description: >
    - Qovery is the fastest way to deploy your full-stack apps on any Cloud
    provider.

    - ℹ️ The API is stable and still in development.
  contact:
    name: Qovery Product Team
    url: https://www.qovery.com
    email: support+api+documentation@qovery.com
  x-logo:
    url: https://console.qovery.com/assets/logos/logo-white.svg
    altText: Qovery
servers:
  - url: https://api.qovery.com
security:
  - bearerAuth: []
  - ApiKeyAuth: []
tags:
  - name: Account
  - name: Account Info
  - name: IPs
  - name: Alert Receivers
  - name: Alert Rules
  - name: Admin
  - name: ArgoCD
  - name: Agentic Workflows
  - name: Application
  - name: Application Actions
  - name: Application Build Analysis
  - name: Application Configuration
  - name: Application Database
  - name: Application Deployment Restriction
  - name: Application Deployment History
  - name: Application Environment Variable
  - name: Application Logs
  - name: Application Main Calls
  - name: Application Secret
  - name: Application Annotations Group
  - name: Applications
  - name: AutoscalingPolicy
  - name: Container
  - name: Container Actions
  - name: Container Configuration
  - name: Container Database
  - name: Container Deployment History
  - name: Container Environment Variable
  - name: Container Logs
  - name: Container Main Calls
  - name: Container Registry
  - name: Container Secret
  - name: Container Annotations Group
  - name: Containers
  - name: Deployment Stage Main Calls
  - name: Job
  - name: Job Actions
  - name: Job Build Analysis
  - name: Job Configuration
  - name: Job Database
  - name: Job Deployment Restriction
  - name: Job Deployment History
  - name: Job Environment Variable
  - name: Job Logs
  - name: Job Main Calls
  - name: Job Registry
  - name: Job Secret
  - name: Job Annotations Group
  - name: Jobs
  - name: KedaTriggerAuthentication
  - name: Helm
  - name: Helm Actions
  - name: Helm Configuration
  - name: Helm Database
  - name: Helm Deployment Restriction
  - name: Helm Deployment History
  - name: Helm Logs
  - name: Helm Main Calls
  - name: Helm Repository
  - name: Helms
  - name: Backups
  - name: Billing
  - name: Blueprint Catalog
  - name: Cloud Provider
  - name: Cloud Provider Credentials
  - name: Clusters
  - name: Cluster Deployment History
  - name: Cluster Operator
  - name: Platform Configuration
  - name: Custom Domain
  - name: Container Custom Domain
  - name: LLM Providers
  - name: MCP Servers
  - name: Agent Activity
    description: >-
      What members' coding agents did on Qovery, linked to the skills they
      loaded: skill loads, API calls made from a Qovery skill, Qovery MCP server
      tool calls and policy denials. Built only from what Qovery already
      records. It returns no prompt text and no request content.
  - name: Skill Presets
    description: >-
      A skill preset is how an organization tells its members' coding agents to
      use Qovery: which Qovery skills apply, team instructions on top of them,
      and skills of the organization's own. Admins manage presets and assign
      each one to the organization, to roles or to members. Any member can read
      the preset that applies to them, which is what the agent's Qovery loader
      skill fetches. Every saved preset is inspected for content that could turn
      a member's agent against them, and every create, edit, delete and skill
      load is recorded in the audit log.
  - name: Database
  - name: Database Actions
  - name: Database Application
  - name: Database Container
  - name: Database Deployment History
  - name: Database Main Calls
  - name: Database Annotations Group
  - name: Databases
  - name: Environment
  - name: Environment Actions
  - name: Environment Custom Domain
  - name: Environment Deployment History
  - name: Environment Deployment Rule
  - name: Environment Logs
  - name: Environment Main Calls
  - name: Environment Secret
  - name: Environment Variable
  - name: Environments
  - name: Git
  - name: Github App
  - name: Git repositories
  - name: Members
  - name: Organization
  - name: Organization Account Git Repositories
  - name: Organization Cluster Lock
  - name: Organization Main Calls
  - name: Organization Custom Role
  - name: Organization Custom Domain
  - name: Organization Event
  - name: Organization Api Token
  - name: Organization Policy Api Token
  - name: Organization Webhook
  - name: Organization Annotations Group
  - name: Organization Labels Group
  - name: Organization Enterprise Connection
  - name: Project
  - name: Project Deployment Rule
  - name: Project Environment Variable
  - name: Project Main Calls
  - name: Project Secret
  - name: Projects
  - name: Referral & Rewards
  - name: Secret Manager Access
  - name: Terraforms
  - name: Terraform Main Calls
  - name: Terraform Resources
  - name: Terraform Deployment History
  - name: Terraform Deployment Restriction
  - name: Container Registries
  - name: Helm Repositories
  - name: User Sign Up
  - name: Variable Main Calls
  - name: Helm Custom Domain
  - name: Lifecycle Template Main Calls
  - name: Blueprint Main Calls
  - name: Service Main Calls
paths:
  /application/{applicationId}/customDomainView:
    get:
      tags:
        - Application Custom Domain
      summary: List the domains of the application
      description: >
        List the domains of the application, as shown on its settings page: its
        Qovery domain (`kind` `QOVERY`, read-only) and each custom domain it
        routes (`kind` `CUSTOM`).

        A custom domain also lists the other services routing it, so a client
        can tell removing this application's route from deleting the domain.
      operationId: listApplicationCustomDomainView
      parameters:
        - $ref: '#/components/parameters/applicationId'
      responses:
        '200':
          description: The domains of the application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceDomainResponseList'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
components:
  parameters:
    applicationId:
      name: applicationId
      in: path
      description: Application ID
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    ServiceDomainResponseList:
      type: object
      required:
        - results
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/ServiceDomainResponse'
    ServiceDomainResponse:
      oneOf:
        - $ref: '#/components/schemas/ServiceDomainQoveryResponse'
        - $ref: '#/components/schemas/ServiceDomainCustomResponse'
      discriminator:
        propertyName: kind
        mapping:
          QOVERY: '#/components/schemas/ServiceDomainQoveryResponse'
          CUSTOM: '#/components/schemas/ServiceDomainCustomResponse'
    ServiceDomainQoveryResponse:
      type: object
      description: The read-only domain Qovery generates for the service.
      required:
        - kind
        - domain
        - generated_hostnames
      properties:
        kind:
          $ref: '#/components/schemas/ServiceDomainKindEnum'
        domain:
          type: string
          example: zabc-zdef-web.cluster.qovery.io
        generated_hostnames:
          type: array
          items:
            $ref: '#/components/schemas/GeneratedHostnameResponse'
    ServiceDomainCustomResponse:
      type: object
      description: >-
        A custom domain the service routes, possibly shared with other services
        of the environment.
      required:
        - kind
        - domain
        - generate_certificate
        - use_cdn
        - cname_targets
        - generated_hostnames
        - routes
        - other_services
      properties:
        kind:
          $ref: '#/components/schemas/ServiceDomainKindEnum'
        domain:
          type: string
          example: my.domain.tld
        generate_certificate:
          type: boolean
          description: Whether Qovery generates a certificate for the domain.
        use_cdn:
          type: boolean
          description: Whether the domain is behind a CDN.
        cname_targets:
          type: array
          description: >-
            The hostnames the domain must point to with a CNAME record. One
            value, except for a legacy domain spread over several service
            routers.
          items:
            type: string
        generated_hostnames:
          type: array
          description: The hostnames served by the routes of this service only.
          items:
            $ref: '#/components/schemas/GeneratedHostnameResponse'
        routes:
          type: array
          description: >-
            Every route of the domain, the routes of the other services
            included.
          items:
            $ref: '#/components/schemas/CustomDomainRouteResponse'
        other_services:
          type: array
          description: >-
            The other services routing the domain. When it is not empty,
            removing this service's route keeps the domain for them.
          items:
            $ref: '#/components/schemas/CustomDomainServiceResponse'
    ServiceDomainKindEnum:
      type: string
      description: >
        * `QOVERY`: the domain Qovery generates for the service. It cannot be
        edited or deleted.

        * `CUSTOM`: a custom domain the service routes.
      enum:
        - QOVERY
        - CUSTOM
    GeneratedHostnameResponse:
      type: object
      description: A hostname Qovery serves for a domain, and the port it reaches.
      required:
        - hostname
        - port_id
        - port_name
        - path
        - kind
      properties:
        hostname:
          type: string
          example: p3000.my.domain.tld
        port_id:
          type: string
          format: uuid
          description: Id of the port the hostname reaches.
        port_name:
          type: string
          example: p3000
        path:
          type: string
          description: The public path of the hostname.
          example: /
        kind:
          $ref: '#/components/schemas/GeneratedHostnameKindEnum'
    CustomDomainRouteResponse:
      type: object
      description: >-
        Requests to the domain on `path` go to `port` of `service`. `port` is
        null when the service has no public port.
      required:
        - id
        - custom_domain_id
        - service
        - port
        - path
        - path_rewrite
      properties:
        id:
          type: string
          format: uuid
          description: Id of the route.
        custom_domain_id:
          type: string
          format: uuid
          description: >-
            Id of this domain in the custom domain API of the service
            (`/application|container|helm/{id}/customDomain/{customDomainId}`).
        service:
          $ref: '#/components/schemas/CustomDomainServiceResponse'
        port:
          allOf:
            - $ref: '#/components/schemas/CustomDomainPortResponse'
          nullable: true
        path:
          type: string
          description: The path of the requests this route serves.
          example: /
        path_rewrite:
          type: string
          nullable: true
          description: >-
            The path that replaces `path` before the request reaches the
            service. Null when the path is not rewritten.
    CustomDomainServiceResponse:
      type: object
      required:
        - id
        - type
        - name
      properties:
        id:
          type: string
          format: uuid
          description: Id of the service.
        type:
          allOf:
            - $ref: '#/components/schemas/ServiceTypeEnum'
          description: >-
            Type of the service. Only `APPLICATION`, `CONTAINER` and `HELM`
            services have custom domains.
        name:
          type: string
          description: Name of the service.
    GeneratedHostnameKindEnum:
      type: string
      description: >
        * `ROOT`: the domain itself (and the parent of a wildcard). It follows
        the route port, path and rewrite.

        * `PORT_SUBDOMAIN`: `<port name>.<domain>`, always served by that port
        at its own public path.
      enum:
        - ROOT
        - PORT_SUBDOMAIN
    CustomDomainPortResponse:
      type: object
      required:
        - id
        - name
        - internal_port
      properties:
        id:
          type: string
          format: uuid
          description: Id of the port.
        name:
          type: string
          description: Name of the port.
          example: p8080
        internal_port:
          type: integer
          description: The port the service listens on.
          example: 8080
    ServiceTypeEnum:
      type: string
      x-stoplight:
        id: d66063cd29913
      description: type of the service (application, database, job, ...)
      enum:
        - APPLICATION
        - DATABASE
        - CONTAINER
        - JOB
        - HELM
        - TERRAFORM
        - ARGOCD_APP
        - AGENTIC_WORKFLOW
  responses:
    '401':
      description: Access token is missing or invalid
    '403':
      description: Access forbidden
    '404':
      description: Resource not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT tokens should be used with OIDC account (human to machine). JWT
        tokens used by the Qovery console to communicate with the API have a
        TTL. Curl Example ' curl https://console.qovery.com/organization -H
        "Authorization: Bearer $qovery_token" '
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Token API are generated by Qovery to manage machine to machine
        interaction and do not have a TTL. Curl Example ' curl
        https://console.qovery.com/organization -H "Authorization: Token
        $qovery_token" '

````

## Related topics

- [List application custom domains](https://www.qovery.com/docs/api-reference/application-custom-domain/list-application-custom-domains.md)
- [qovery application](https://www.qovery.com/docs/cli/commands/application.md)
- [List the domains of the container](https://www.qovery.com/docs/api-reference/container-custom-domain/list-the-domains-of-the-container.md)
- [List the domains of the helm](https://www.qovery.com/docs/api-reference/helm-custom-domain/list-the-domains-of-the-helm.md)
- [List all URLs of the application](https://www.qovery.com/docs/api-reference/application-main-calls/list-all-urls-of-the-application.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.