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

# Publish form

> Snapshots the draft as a new live version. Fails with 400 form_issues (the first publish-check error), 400 form_blocked (the form asks for passwords, 

`POST /api/forms/{id}/publish`, API key scope `write`. Also available as the `publish_form` MCP tool.

Snapshots the draft as a new live version. Fails with 400 form\_issues (the first publish-check error), 400 form\_blocked (the form asks for passwords, card numbers or similar) or 403 forms\_limit.

| Parameter | In | Description |
| - | - | - |
| `id` | path | Form uuid, public id or key |

## Example

```bash theme={null}
curl "https://app.manypi.com/api/forms/{id}/publish" \
  -H "Authorization: Bearer $MANYPI_API_KEY"
```

## Response

```json theme={null}
{ "version": 2, "url": "https://k7m2qx9fha.usemanypi.eu/to/Ab3dE9xZ", "reviewState": "none", "warnings": [] }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.