Update campaign
PATCH/v1/public/campaigns/:campaignId
Updates a campaign draft. Only campaigns in DRAFT status can be edited; only the fields present in the request are changed. For A/B (split) campaigns abTest.variants replaces the whole set of subject variants and abTest.percent sets the test share of contacts.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Updated campaign.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
Campaign is not in DRAFT status.
The current API key exceeded the configured rate limit.
Response Headers
Retry-After
Number of seconds after which the request may be retried safely.
Internal server error.