Create Campaign
Create Campaign
Create a new data collection campaign within a dataset
POST
Create Campaign
Create Campaign
Create a new campaign to collect KPI data from assigned data owners for a specific reporting period. Optionally link existing dataset assignments as recipients.Creating a campaign does not send invite emails. Use Send Invites after creating the campaign to notify recipients.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the parent dataset
Body Parameters
Campaign name (1–255 characters)Example:
"Q1 2025 Water Survey"Start of the reporting period (ISO date)Example:
"2025-01-01"End of the reporting period. Must be after
period_start.Example: "2025-03-31"Submission deadline. Must be after
period_start.Example: "2025-04-15"UUIDs of dataset assignments to include as campaign recipients. Omit to add recipients later via Add Recipient.
Response
Returns the created campaign with its campaign-assignments (HTTP 201). The response uses the same shape as Get Campaign.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).
Deadline for recipients to submit responses (ISO 8601 date).
Timestamp when the campaign was locked.
null for newly created campaigns.UUID of the user who created the campaign.
Timestamp when the campaign was created
Timestamp when the campaign was last updated
Recipients linked to this campaign. Empty if no
assignment_ids were provided.Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Validation Error
Cause:period_end is not after period_start
Related Endpoints
Send Invites
Send invite emails to recipients
List Campaigns
View all campaigns

