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

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

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: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        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: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeployResponse'
        '400':
          description: The app cannot be published, for example a native mobile app.
        '401':
          description: Missing or invalid credentials.
        '403':
          description: App is blocked, or the caller can't publish it.
        '404':
          description: App not found.
        '409':
          description: App is processing, or the target is a branch checkpoint.
        '422':
          description: '`checkpoint_id` is not a string.'
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
    DeployResponse:
      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, or `null` if
            the app has no saved versions. The git commit hash identifies the
            exact code that was deployed.
          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, as a UTC timestamp in ISO 8601 format.
          example: '2026-08-02T14:30:00'
      type: object
      required:
        - app_id
        - checkpoint_id
        - git_commit_hash
        - deployed_at
      title: DeployResponse
      description: The version of an app that was published, and when.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Personal API key.

````