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

# Obtener URL del proyecto

> Obtén la URL en vivo de un proyecto y los subdominios y dominios disponibles para cambiar.



## OpenAPI

````yaml GET /projects/{slug}/url
openapi: 3.1.0
info:
  title: Faces API
  version: '1.0'
  description: >-
    Faces API for creating and managing presentations. Generate presentations
    from prompts, or read and write individual slides. Each slide is a React
    component (face.tsx) with content blocks (face.content.json) and editor
    controls (face.controls.json).
servers:
  - url: https://faces.app/api/v1
    description: API v1
security:
  - bearerAuth: []
paths:
  /projects/{slug}/url:
    get:
      tags:
        - Publishing
      summary: Get the project URL config
      description: >-
        Get the project's current live URL (subdomain or custom domain plus
        path) and the subdomains/domains available to switch to.
      operationId: getProjectUrl
      parameters:
        - schema:
            type: string
          required: true
          name: slug
          in: path
      responses:
        '200':
          description: URL configuration
          content:
            application/json:
              schema:
                type: object
                properties:
                  current:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - subdomain
                          - domain
                      hostname:
                        type: string
                      path:
                        type: string
                      subdomainId:
                        type: string
                      domainId:
                        type: string
                      projectSubdomainId:
                        type: string
                      projectDomainId:
                        type: string
                    required:
                      - type
                      - hostname
                      - path
                  availableSubdomains:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        subdomain:
                          type: string
                        isCustom:
                          type: boolean
                      required:
                        - id
                        - subdomain
                        - isCustom
                  availableDomains:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        hostname:
                          type: string
                      required:
                        - id
                        - hostname
                required:
                  - current
                  - availableSubdomains
                  - availableDomains
        '404':
          description: Project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        hint:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key with "faces_" prefix. Create one at Settings > Developers.

````