---
title: "Update a campaign"
method: PATCH
path: "/v2/campaigns/{campaign_id}"
tags: ["Campaigns"]
---

# Update a campaign

`PATCH /v2/campaigns/{campaign_id}`

Partially updates a campaign. Only the fields you include are modified.

## Request body

- UpdateCampaignRequest
  - `name` string
  - `from_number` string
  - `time_start` string
  - `time_end` string
  - `timezone` string
  - `contact_list_id` integer
  - `days` CampaignDay[]

## Response `200`

Updated campaign.

- CampaignResponse
  - `id` integer, required
  - `name` string, required
  - `type` 'outbound', required
  - `status` 'Running' | 'Scheduled' | 'Stopped' | 'Completed' | 'Failed' | 'Expired' | 'Paused', required
  - `agent_uid` string
  - `from_number` string
  - `contact_list_id` integer
  - `time_start` string — HH:MM (24-hour) daily window start.
  - `time_end` string — HH:MM (24-hour) daily window end.
  - `timezone` string
  - `days` CampaignDay[]
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Validation error or invalid request body.
- `401` — Missing or invalid API key.
- `404` — The requested resource does not exist.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/openmicai/apis/openmic-v1-external-api.md) · [All operations](https://skmtc.net/openmicai/apis/openmic-v1-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmicai/openmic-v1-external-api/revisions/58dc5cff0ca7/schema)
