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
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 to lock
Response
Returns the campaign withlocked_at set to the current timestamp (HTTP 200).
string
Campaign UUID.
string
Campaign display name.
string
Timestamp when the campaign was locked (ISO 8601). Now set.
string
Data collection period start date.
string
Data collection period end date.
string
Submission deadline.
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 foundRelated Endpoints
Unlock Campaign
Re-open for submissions
Get Campaign
View campaign status