---
title: "Provision Campaign"
method: POST
path: "/provision/{campaign_type}"
tags: ["authenticated", "provision"]
---

# Provision Campaign

`POST /provision/{campaign_type}`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/provision/{campaign_type}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Ensure this org's campaign-gated path for campaign_type exists (idempotent).

## Path parameters

- `campaign_type` string, required

## Headers

- `organization-id` string, nullable
- `x-user-id` string, nullable
- `timezone` string
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- ApiRoutersAuthenticatedProvisionProvisionRequest
  - `organization_id` string, required
  - `trade` string, nullable
  - `is_draft` boolean
  - `rule_overrides` RuleOverride[]
    - `rule_type_key` string, required
    - `sort_order` integer
    - `label` string, nullable
    - `params` object, nullable, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
