---
title: "Free: every problem with a campaign at once, its flat price, and whether the balance covers it"
method: POST
path: "/campaigns/quote"
---

# Free: every problem with a campaign at once, its flat price, and whether the balance covers it

`POST /campaigns/quote`

## Request

- Base URL: `https://clearvoyance.ai/api/v1`
- URL: `https://clearvoyance.ai/api/v1/campaigns/quote`
- Auth: HTTP bearer

## Request body

- union
  - object
    - `kind` 'open_link', required
    - `title` string
    - `description` string, nullable
    - `senderName` string, nullable
    - `questions` object[]
      - `text` string, required
    - `giftText` string, nullable
    - `expiresInDays` integer
    - `responseCap` integer
  - object
    - `kind` 'targeted', required
    - `title` string
    - `description` string, nullable
    - `senderName` string, nullable
    - `questions` object[]
      - `text` string, required
    - `giftText` string, nullable
    - `expiresInDays` integer
    - `cohortSize` integer
    - `minPercent` integer

## Response `200`

The quote

- Ok
  - `ok` unknown, required

## Other responses

- `default`: A refusal or error: `code` is stable and `message` says what to do next

---

[API](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api.md) · [All operations](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api/revisions/98fa8d9aa58b?raw)
