---
title: "POST /v1/external/campaigns/{agent_id}"
method: POST
path: "/v1/external/campaigns/{agent_id}"
---

# POST /v1/external/campaigns/{agent_id}

`POST /v1/external/campaigns/{agent_id}`

Creates a draft outbound campaign for the specified agent. The agent must belong to your organization.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- CreateCampaignRequest
  - `name` string, required — Campaign name. Maximum 120 characters.
  - `retry_config` RetryConfig — Optional retry behavior for campaign calls. Retries are attempted when a call ends with one of the statuses listed in `retry_on`.
    - `max_retries` integer — Maximum retry attempts per recipient call. Must be between 1 and 5 when retry_config is provided.
    - `retry_delay_minutes` integer — Delay in minutes before each retry attempt. Must be between 1 and 1440.
    - `retry_on` string[] — Call statuses that should trigger a retry.

## Response `201`

Campaign created successfully

- CreateCampaignResponse
  - `message` string, required
  - `data` object, required
    - `campaign_id` string, uuid, required

## Other responses

- `400` — Bad request
- `404` — Resource not found or does not belong to your organization
- `500` — Internal server error

---

[API](https://skmtc.net/i-stem/apis/samora-ai-api.md) · [All operations](https://skmtc.net/i-stem/apis/samora-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/i-stem/samora-ai-api/revisions/cb390cb388d1/schema)
