> ## 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.

# Publish Project

> Publish a project's latest version, making it publicly accessible.



## OpenAPI

````yaml POST /projects/{slug}/publish
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}/publish:
    post:
      tags:
        - Publishing
      summary: Publish a project
      description: >-
        Publish the project's latest version, making it publicly accessible at
        its live URL.
      operationId: publishProject
      parameters:
        - schema:
            type: string
          required: true
          name: slug
          in: path
      responses:
        '200':
          description: Project published
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  published:
                    type: boolean
                  publishedUrl:
                    type:
                      - string
                      - 'null'
                    format: uri
                required:
                  - success
                  - published
                  - publishedUrl
        '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.

````