---
title: "Create Campaign"
method: POST
path: "/api/campaigns"
tags: ["Campaigns"]
---

# Create Campaign

`POST /api/campaigns`

## Request

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

## Headers

- `x-kolens-user-id` string, nullable
- `x-kolens-workspace-id` string, nullable

## Request body

- CampaignIn
  - `name` string, required
  - `product` string, nullable
  - `budget_amount` number, nullable
  - `currency` string
  - `target_regions` string[], nullable
  - `starts_on` string, date-time, nullable
  - `ends_on` string, date-time, nullable
  - `status` string
  - `note` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
