Lock Campaign
Lock Campaign
Lock a campaign to prevent further submissions
POST
Lock Campaign
Lock Campaign
Lock a campaign, preventing any further value submissions from recipients. Locked campaigns keep all existing data but reject new or edited values.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 to lock
Response
Returns the campaign withlocked_at set to the current timestamp (HTTP 200).
Campaign UUID.
Campaign display name.
Timestamp when the campaign was locked (ISO 8601). Now set.
Data collection period start date.
Data collection period end date.
Submission deadline.
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 foundRelated Endpoints
Unlock Campaign
Re-open for submissions
Get Campaign
View campaign status

