---
title: "Create Lead Form"
method: POST
path: "/api/v1/campaigns/lead-form"
tags: ["Campaigns"]
---

# Create Lead Form

`POST /api/v1/campaigns/lead-form`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/campaigns/lead-form`
- Auth: HTTP bearer

Create a lead form for a campaign (Google LeadFormAsset or Meta Instant Form).

## Request body

- CreateLeadFormRequest
  - `platform` string, required
  - `campaign_id` string, required
  - `page_id` string, nullable
  - `account_id` string, nullable
  - `lead_form` LeadFormConfig, required: Lead form configuration for lead generation campaigns.
    - `form_name` string
    - `headline` string
    - `description` string
    - `fields` string[]
    - `privacy_policy_url` string, required
    - `call_to_action` string
    - `thank_you_headline` string
    - `thank_you_description` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
