---
title: "Generate Lead Snippets Api"
method: POST
path: "/public_builder/lead-snippets"
tags: ["public_builder"]
---

# Generate Lead Snippets Api

`POST /public_builder/lead-snippets`

## Request body

- LeadSnippetsRequest
  - `business_name` string, nullable
  - `place_id` string, nullable
  - `url` string, nullable
  - `language` string

## Response `200`

Successful Response

- LeadSnippetsResponse — API response for lead snippet generation
  - `business_name` string, required
  - `url` string, nullable
  - `place_id` string, nullable
  - `audio_snippets` AudioSnippetResult[], required
    - `name` string, required
    - `description` string, required
    - `document` DocumentWithPresignedUrlAudioSnippetMeta, required
      - `document` DocumentReadAudioSnippetMeta, required
        - `id` string, uuid, required
        - `s3_key` string, required
        - `status` 'WAITING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', required
        - `name` string, required
        - `meta` AudioSnippetMeta, required
          - `type` 'audio_snippet'
        - `type` 'DERIVED_AUDIO' | 'AUDIO' | 'AUDIO_SNIPPET' | 'VOICE_RECORDING' | 'VOICE_AGENT_OUTBOUND_BATCH' | 'KNOWLEDGE_BASE', required
        - `parent_document_id` string, uuid, nullable
        - `error_message` string, nullable, required
      - `presigned_url` string, required
  - `tenant_id` string, uuid, required
  - `lead_id` string, uuid, required

## Other responses

- `422` — Validation Error

## Changes

> 23 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/public_builder/lead-snippets/post.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/0b211d6e9f84?raw)
