---
title: "Publish an embedded form"
method: POST
path: "/api/v1/lead-capture/embedded-forms/{formId}/publish"
tags: ["Lead Capture"]
---

# Publish an embedded form

`POST /api/v1/lead-capture/embedded-forms/{formId}/publish`

## Request

- Base URL: `https://www.useboom.ai`
- URL: `https://www.useboom.ai/api/v1/lead-capture/embedded-forms/{formId}/publish`
- Auth: HTTP bearer

Freeze the draft as the next version visitors get (within about five minutes on live pages). Refused with the reasons when the draft is not ready or changes something published (a key, a type, an answer value). Returns the journeys and segments still reading anything this version stops producing.

## Path parameters

- `formId` string, required: Form id.

## Response `201`

Success

- object
  - `version` number, required
  - `impact` object[], required
    - `label` string, required
    - `journeys` object[], required
      - `id` string, required
      - `initiativeId` string, required
      - `initiativeName` string, required
    - `segments` object[], required
      - `id` string, required
      - `name` string, required

## Other responses

- `400`: Validation failed or the request cannot proceed.
- `401`: Missing, malformed, or revoked API key.
- `404`: The resource does not exist in this organization.
- `409`: Conflicts with the current state (duplicates, wrong lifecycle state).
- `422`: The request is well-formed but semantically invalid.
- `429`: Rate limit exceeded — retry after `Retry-After`.
- `500`: Internal server error.
- `503`: Transient error — retry with a narrower request.

## Changes

- **2026-11-03** `7c7a773b12ce`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/useboom/apis/boom-api/changes/api/v1/lead-capture/embedded-forms/:formId/publish/post.md)

---

[API](https://skmtc.dev/useboom/apis/boom-api.md) - [All operations](https://skmtc.dev/useboom/apis/boom-api/llms.txt) - [OpenAPI document](https://skmtc.dev/useboom/apis/boom-api/revisions/d596d92ed092?raw)
