Campaign Item Schema
Fields
Campaign Item Schema
A single work item inside a campaign, one per target entity (party/asset/contact/…). Holds status, assignee, snapshot, outcome, linked artefacts and per-action run history.
campaignId
targetEntityType
Schema id of the target entity (e.g. "party", "asset").
targetEntityId
snapshot
resolvedContact
contactPartyId
contactRelationshipId
email
functionRoles
resolverReason
status
PENDINGIN_PROGRESSDONESKIPPEDFAILEDSKIPPED_NO_RECIPIENTSKIPPED_NO_CONSENTSKIPPED_FREQUENCY_CAPSKIPPED_LEFT_SEGMENTUNSUBSCRIBEDBOUNCEDCOMPLAINEDstatusReason
outcome
Type-specific enum (CONVERTED, NOT_INTERESTED, MEETING_BOOKED, UPGRADED, …).
outcomeAt
outcomeBy
outcomeNotes
assigneeUserId
assigneeTeamId
dueDate
priority
LOWNORMALHIGHURGENTnotes
interactions
Manually logged interactions between a user and the target contact (calls, meetings, notes).
uniqueKey
Dedup key: campaignId + targetEntityType + targetEntityId (+ contactRelationshipId if sendToAllMatching).
resendCount
Number of manual re-executions via /resend. Mixed into the action correlationId so the send-email Redis dedup (24h TTL) does not swallow the re-send.
enteredAt
When the item entered the campaign (= createdAt normally).
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/campaign_items— List, paginated + filterableGET /api/v1/campaign_items/<id>— Single entityPOST /api/v1/campaign_items— CreatePATCH /api/v1/campaign_items/<id>— Partial updateDELETE /api/v1/campaign_items/<id>— Soft deleteGET /api/v1/campaign_items/<id>/timeline— Audit + activities