API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · campaign_items

Campaign Item Schema

Schema-ID
campaign_item
Collection
campaign_items
Permissions
  • Lezencampaign_item_view
  • Aanmakencampaign_item_create
  • Wijzigencampaign_item_edit
  • Verwijderencampaign_item_delete
Relaties

Velden

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.

campaignIduuidvereist→ campaign
read-only
targetEntityTypestringvereist

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

1–64 tekensread-only
targetEntityIduuidvereist
read-only
snapshotobjectoptioneel
read-onlynullable
displayNamestringoptioneel
max. 500 tekensnullable
fieldsobjectoptioneel
capturedAtdatetimeoptioneel
resolvedContactobjectoptioneel
read-onlynullable
contactPartyIduuidoptioneel
nullable
contactRelationshipIduuidoptioneel
nullable
emailemailoptioneel
nullable
functionRolesstring[]optioneel
Default: []
resolverReasonstringoptioneel
max. 200 tekensnullable
statusstringvereist
PENDINGIN_PROGRESSDONESKIPPEDFAILEDSKIPPED_NO_RECIPIENTSKIPPED_NO_CONSENTSKIPPED_FREQUENCY_CAPSKIPPED_LEFT_SEGMENTUNSUBSCRIBEDBOUNCEDCOMPLAINED
Default: "PENDING"
statusReasonstringoptioneel
max. 500 tekensnullable
outcomestringoptioneel

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

max. 100 tekensnullable
outcomeAtdatetimeoptioneel
nullable
outcomeByuuidoptioneel
nullable
outcomeNotesstringoptioneel
max. 2000 tekensnullable
assigneeUserIduuidoptioneel
nullable
assigneeTeamIduuidoptioneel
nullable
dueDatedatetimeoptioneel
nullable
prioritystringoptioneel
LOWNORMALHIGHURGENT
Default: "NORMAL"
notesstringoptioneel
max. 5000 tekensnullable
linkedEntityRefsobject[]optioneel
Default: []read-only
schemastringvereist
max. 64 tekensread-only
iduuidvereist
createdBystringoptioneel
ACTIONMANUAL
Default: "ACTION"read-only
createdAtdatetimeoptioneel
read-only
actionRunsobject[]optioneel
Default: []read-only
actionIdstringvereist
max. 64 tekens
actionTypestringvereist
max. 64 tekens
runAtdatetimevereist
statusstringvereist
SUCCESSFAILEDSKIPPED
errorstringoptioneel
max. 2000 tekensnullable
resultobjectoptioneel
nullable
variantstringoptioneel
AB
nullable
emailEventsobject[]optioneel
Default: []read-only
typestringvereist
SENTDELIVEREDOPENEDCLICKEDBOUNCEDUNSUBSCRIBEDCOMPLAINED
atdatetimevereist
metaobjectoptioneel
interactionsobject[]optioneel

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

Default: []read-only
iduuidvereist
atdatetimevereist
byUserIduuidvereist
kindstringvereist
CALLEMAILMEETINGNOTECHATOTHER
directionstringoptioneel
INBOUNDOUTBOUNDINTERNALnull
nullable
contactPartyIduuidoptioneel
nullable
summarystringoptioneel
max. 2000 tekensnullable
outcomestringoptioneel
max. 100 tekensnullable
uniqueKeystringoptioneel

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

max. 500 tekensread-only
resendCountintegeroptioneel

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
enteredAtdatetimeoptioneel

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

read-only

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/campaign_items — Lijst, gepagineerd + filterbaar
  • GET /api/v1/campaign_items/<id> — Enkele entity
  • POST /api/v1/campaign_items — Aanmaken
  • PATCH /api/v1/campaign_items/<id> — Gedeeltelijke update
  • DELETE /api/v1/campaign_items/<id> — Soft-delete
  • GET /api/v1/campaign_items/<id>/timeline — Audit + activiteiten

Zoeken