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

# Deploy an app

> Deploys your app to production, publishing your latest changes so they go live for its users. By default the app's current version is deployed. To deploy a specific saved version instead, pass its ID in the request body.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/deploy
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - ApiKeyAuth: []
paths:
  /api/apps/{app_id}/deploy:
    post:
      summary: Deploy an app
      description: >-
        Deploys your app to production, publishing your latest changes so they
        go live for its users. By default the app's current version is deployed.
        To deploy a specific saved version instead, pass its ID in the request
        body.
      operationId: deploy_api_apps__app_id__deploy_post
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app to deploy.
            title: App Id
          description: ID of the app to deploy.
          example: 6820f3a4e7b91d003c45a1f2
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/DeployRequest'
                - type: 'null'
              title: Payload
      responses:
        '200':
          description: Deploy result for workspace API-key callers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceApiKeyDeployResponse'
        '400':
          description: App cannot be published (e.g. native mobile app).
        '401':
          description: Missing or invalid credentials.
        '403':
          description: App is blocked, or the caller can't publish it.
        '409':
          description: App is processing, or the target is a branch checkpoint.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DeployRequest:
      properties:
        checkpoint_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Checkpoint Id
          description: >-
            ID of a specific saved version of the app to deploy. If omitted, the
            app's current version is deployed.
          example: 6886b8d390dc7e2f4a2c91b3
      type: object
      title: DeployRequest
    WorkspaceApiKeyDeployResponse:
      properties:
        app_id:
          type: string
          title: App Id
          description: ID of the app that was deployed.
          example: 6820f3a4e7b91d003c45a1f2
        checkpoint_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Checkpoint Id
          description: >-
            ID of the saved version associated with this deploy. The git commit
            hash identifies the exact code that was deployed. Null if the app
            has no saved versions.
          example: 6886b8d390dc7e2f4a2c91b3
        git_commit_hash:
          type: string
          title: Git Commit Hash
          description: Git commit hash of the code that was deployed.
          example: a1b2c3d4e5f67890abcdef1234567890abcdef12
        deployed_at:
          type: string
          format: date-time
          title: Deployed At
          description: Time the app was deployed.
          example: '2026-08-02T14:30:00'
      type: object
      required:
        - app_id
        - checkpoint_id
        - git_commit_hash
        - deployed_at
      title: WorkspaceApiKeyDeployResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Workspace API key.

````