---
title: "POST /v2/campaigns/{id}/schedule"
method: POST
path: "/v2/campaigns/{id}/schedule"
---

# POST /v2/campaigns/{id}/schedule

`POST /v2/campaigns/{id}/schedule`

Updates the schedule for a campaign. This API is idempotent.

## Path parameters

- `id` string, required — Identifier representing a Campaign

## Request body

- object
  - `schedule` object, required — Campaign schedule
    - `startTime` string, date-time — Timestamp with no UTC offset or timezone
    - `endTime` string, date-time — Timestamp with no UTC offset or timezone
    - `refreshFrequency` string — Time duration in ISO 8601 format

## Response `200`

Success

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — ConflictException
- `484` — InvalidCampaignStateException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/connectcampaignsv2.md) · [All operations](https://skmtc.net/aws/apis/connectcampaignsv2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connectcampaignsv2/versions/d9204d79443e/schema)
