Add Campaign Recipient
Add Campaign Recipient
Add a data owner as a recipient to a campaign
POST
Add Campaign Recipient
Add Campaign Recipient
Link a data owner to a campaign. If the data owner doesn’t have an existing dataset assignment, one is created automatically.Adding a recipient does not send an invite email. Use Send Invites (bulk) or Resend Invite (individual) to notify them.
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
string
required
UUID of the organization this recipient belongs to
string
required
Email address of the data ownerExample:
"facility-manager@example.com"string
UUID of a specific facility (omit for org-level)
string
UUID of an existing Dcycle user
Response
Returns the campaign-assignment with embedded dataset assignment (HTTP 201).string
Campaign-assignment UUID.
string
Parent campaign UUID.
string
Underlying dataset assignment UUID.
string | null
When the invite email was last sent.
null until Send Invites is called.string | null
When the recipient completed all KPIs.
null if pending.string
Derived status:
awaiting, completed, or locked.object
Embedded dataset assignment with recipient details (
data_owner_email, organization_id, facility_id).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
Send Invites
Notify all pending recipients
Remove Recipient
Unlink a recipient