Update Campaign
Update Campaign
Update a campaign’s name, dates, or deadline
PATCH
Update Campaign
Update Campaign
Update the name, reporting period, or deadline of an existing campaign. Only send the fields you want to change.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the parent dataset
UUID of the campaign
Body Parameters
All fields are optional.Campaign name (1–255 characters)
Start of the reporting period (ISO date)
End of the reporting period. Must be after
period_start when both are provided.Submission deadline. Must be after
period_start when both are provided.Response
Returns the updated campaign (HTTP 200).Campaign UUID.
UUID of the parent dataset.
Campaign display name.
Data collection period start date (ISO 8601 date).
Data collection period end date (ISO 8601 date).
Submission deadline (ISO 8601 date).
Timestamp when the campaign was locked.
null if still open.Creation timestamp (ISO 8601).
Last update timestamp (ISO 8601).
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Campaign not found422 Validation Error
Cause: Invalid or missing required fields in the request bodyRelated Endpoints
Get Campaign
View campaign with recipients
Lock Campaign
Prevent further submissions

