---
title: "Campaign Build"
method: POST
path: "/api/v2/app/campaign/build"
tags: ["v2-studio"]
---

# Campaign Build

`POST /api/v2/app/campaign/build`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/v2/app/campaign/build`
- Auth: none declared

Fill a campaign's pool from its target definition.

Runs in the background and moves the campaign through `building` to `review`,
because assembling a pool means a DuckDB scan, a DNS sweep and a CrUX lookup,
and holding an HTTP request open for that would time out on a phone.

## Request body

- CampaignBuildRequest
  - `token` string, required
  - `campaign_id` integer, required
  - `wanted` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
