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
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
UUID of the parent dataset
string
required
UUID of the campaign
Body Parameters
All fields are optional.string
Campaign name (1–255 characters)
string
Start of the reporting period (ISO date)
string
End of the reporting period. Must be after
period_start when both are provided.string
Submission deadline. Must be after
period_start when both are provided.Response
Returns the updated campaign (HTTP 200).string
Campaign UUID.
string
UUID of the parent dataset.
string
Campaign display name.
string
Data collection period start date (ISO 8601 date).
string
Data collection period end date (ISO 8601 date).
string
Submission deadline (ISO 8601 date).
string | null
Timestamp when the campaign was locked.
null if still open.datetime
Creation timestamp (ISO 8601).
string | null
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