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
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
Body Parameters
UUID of the organization this recipient belongs to
Email address of the data ownerExample:
"facility-manager@example.com"UUID of a specific facility (omit for org-level)
UUID of an existing Dcycle user
Response
Returns the campaign-assignment with embedded dataset assignment (HTTP 201).Campaign-assignment UUID.
Parent campaign UUID.
Underlying dataset assignment UUID.
When the invite email was last sent.
null until Send Invites is called.When the recipient completed all KPIs.
null if pending.Derived status:
awaiting, completed, or locked.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

