API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · campaign_items

Campaign Item Schema

Schema ID
campaign_item
Collection
campaign_items
Permissions
  • Readcampaign_item_view
  • Createcampaign_item_create
  • Editcampaign_item_edit
  • Deletecampaign_item_delete
Relationships

Fields

Campaign Item Schema

campaign_items4 permissions

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.

campaignIduuidrequired→ campaign
read-only
targetEntityTypestringrequired

Schema id of the target entity (e.g. "party", "asset").

1–64 charactersread-only
targetEntityIduuidrequired
read-only
snapshotobjectoptional
read-onlynullable
displayNamestringoptional
max 500 charactersnullable
fieldsobjectoptional
capturedAtdatetimeoptional
resolvedContactobjectoptional
read-onlynullable
contactPartyIduuidoptional
nullable
contactRelationshipIduuidoptional
nullable
emailemailoptional
nullable
functionRolesstring[]optional
Default: []
resolverReasonstringoptional
max 200 charactersnullable
statusstringrequired
PENDINGIN_PROGRESSDONESKIPPEDFAILEDSKIPPED_NO_RECIPIENTSKIPPED_NO_CONSENTSKIPPED_FREQUENCY_CAPSKIPPED_LEFT_SEGMENTUNSUBSCRIBEDBOUNCEDCOMPLAINED
Default: "PENDING"
statusReasonstringoptional
max 500 charactersnullable
outcomestringoptional

Type-specific enum (CONVERTED, NOT_INTERESTED, MEETING_BOOKED, UPGRADED, …).

max 100 charactersnullable
outcomeAtdatetimeoptional
nullable
outcomeByuuidoptional
nullable
outcomeNotesstringoptional
max 2000 charactersnullable
assigneeUserIduuidoptional
nullable
assigneeTeamIduuidoptional
nullable
dueDatedatetimeoptional
nullable
prioritystringoptional
LOWNORMALHIGHURGENT
Default: "NORMAL"
notesstringoptional
max 5000 charactersnullable
linkedEntityRefsobject[]optional
Default: []read-only
schemastringrequired
max 64 charactersread-only
iduuidrequired
createdBystringoptional
ACTIONMANUAL
Default: "ACTION"read-only
createdAtdatetimeoptional
read-only
actionRunsobject[]optional
Default: []read-only
actionIdstringrequired
max 64 characters
actionTypestringrequired
max 64 characters
runAtdatetimerequired
statusstringrequired
SUCCESSFAILEDSKIPPED
errorstringoptional
max 2000 charactersnullable
resultobjectoptional
nullable
variantstringoptional
AB
nullable
emailEventsobject[]optional
Default: []read-only
typestringrequired
SENTDELIVEREDOPENEDCLICKEDBOUNCEDUNSUBSCRIBEDCOMPLAINED
atdatetimerequired
metaobjectoptional
interactionsobject[]optional

Manually logged interactions between a user and the target contact (calls, meetings, notes).

Default: []read-only
iduuidrequired
atdatetimerequired
byUserIduuidrequired
kindstringrequired
CALLEMAILMEETINGNOTECHATOTHER
directionstringoptional
INBOUNDOUTBOUNDINTERNALnull
nullable
contactPartyIduuidoptional
nullable
summarystringoptional
max 2000 charactersnullable
outcomestringoptional
max 100 charactersnullable
uniqueKeystringoptional

Dedup key: campaignId + targetEntityType + targetEntityId (+ contactRelationshipId if sendToAllMatching).

max 500 charactersread-only
resendCountintegeroptional

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.

≥ 0Default: 0
enteredAtdatetimeoptional

When the item entered the campaign (= createdAt normally).

read-only

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 + filterable
  • GET /api/v1/campaign_items/<id> — Single entity
  • POST /api/v1/campaign_items — Create
  • PATCH /api/v1/campaign_items/<id> — Partial update
  • DELETE /api/v1/campaign_items/<id> — Soft delete
  • GET /api/v1/campaign_items/<id>/timeline — Audit + activities

Search