---
title: "Publish a workspace"
method: POST
path: "/workspaces/{workspaceId}/publish"
tags: ["workspaces"]
---

# Publish a workspace

`POST /workspaces/{workspaceId}/publish`

## Path parameters

- `workspaceId` string, required

## Response `200`

Returns the deployment object.

- DeploymentOutput
  - `data` object, required
    - `_id` string, required — The ID of the app.
    - `status` 'SUCCESS' | 'FAILURE', required — Status of the deployment, whether it succeeded or failed
    - `appUrl` string, required — The URL of the published app

---

[API](https://skmtc.net/budibase/apis/budibase-api.md) · [All operations](https://skmtc.net/budibase/apis/budibase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/budibase/budibase-api/revisions/9c6f16fc652b/schema)
