API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · campaign_items

Campaign Item Schema

ID du schéma
campaign_item
Collection
campaign_items
Autorisations
  • Lirecampaign_item_view
  • Créercampaign_item_create
  • Modifiercampaign_item_edit
  • Supprimercampaign_item_delete
Relations

Champs

Campaign Item Schema

campaign_items4 autorisations

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.

campaignIduuidobligatoire→ campaign
lecture seule
targetEntityTypestringobligatoire

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

1–64 caractèreslecture seule
targetEntityIduuidobligatoire
lecture seule
snapshotobjectfacultatif
lecture seulenullable
displayNamestringfacultatif
max. 500 caractèresnullable
fieldsobjectfacultatif
capturedAtdatetimefacultatif
resolvedContactobjectfacultatif
lecture seulenullable
contactPartyIduuidfacultatif
nullable
contactRelationshipIduuidfacultatif
nullable
emailemailfacultatif
nullable
functionRolesstring[]facultatif
Par défaut : []
resolverReasonstringfacultatif
max. 200 caractèresnullable
statusstringobligatoire
PENDINGIN_PROGRESSDONESKIPPEDFAILEDSKIPPED_NO_RECIPIENTSKIPPED_NO_CONSENTSKIPPED_FREQUENCY_CAPSKIPPED_LEFT_SEGMENTUNSUBSCRIBEDBOUNCEDCOMPLAINED
Par défaut : "PENDING"
statusReasonstringfacultatif
max. 500 caractèresnullable
outcomestringfacultatif

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

max. 100 caractèresnullable
outcomeAtdatetimefacultatif
nullable
outcomeByuuidfacultatif
nullable
outcomeNotesstringfacultatif
max. 2000 caractèresnullable
assigneeUserIduuidfacultatif
nullable
assigneeTeamIduuidfacultatif
nullable
dueDatedatetimefacultatif
nullable
prioritystringfacultatif
LOWNORMALHIGHURGENT
Par défaut : "NORMAL"
notesstringfacultatif
max. 5000 caractèresnullable
linkedEntityRefsobject[]facultatif
Par défaut : []lecture seule
schemastringobligatoire
max. 64 caractèreslecture seule
iduuidobligatoire
createdBystringfacultatif
ACTIONMANUAL
Par défaut : "ACTION"lecture seule
createdAtdatetimefacultatif
lecture seule
actionRunsobject[]facultatif
Par défaut : []lecture seule
actionIdstringobligatoire
max. 64 caractères
actionTypestringobligatoire
max. 64 caractères
runAtdatetimeobligatoire
statusstringobligatoire
SUCCESSFAILEDSKIPPED
errorstringfacultatif
max. 2000 caractèresnullable
resultobjectfacultatif
nullable
variantstringfacultatif
AB
nullable
emailEventsobject[]facultatif
Par défaut : []lecture seule
typestringobligatoire
SENTDELIVEREDOPENEDCLICKEDBOUNCEDUNSUBSCRIBEDCOMPLAINED
atdatetimeobligatoire
metaobjectfacultatif
interactionsobject[]facultatif

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

Par défaut : []lecture seule
iduuidobligatoire
atdatetimeobligatoire
byUserIduuidobligatoire
kindstringobligatoire
CALLEMAILMEETINGNOTECHATOTHER
directionstringfacultatif
INBOUNDOUTBOUNDINTERNALnull
nullable
contactPartyIduuidfacultatif
nullable
summarystringfacultatif
max. 2000 caractèresnullable
outcomestringfacultatif
max. 100 caractèresnullable
uniqueKeystringfacultatif

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

max. 500 caractèreslecture seule
resendCountintegerfacultatif

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.

≥ 0Par défaut : 0
enteredAtdatetimefacultatif

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

lecture seule

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/campaign_items — Liste, paginée et filtrable
  • GET /api/v1/campaign_items/<id> — Une entité
  • POST /api/v1/campaign_items — Créer
  • PATCH /api/v1/campaign_items/<id> — Mise à jour partielle
  • DELETE /api/v1/campaign_items/<id> — Suppression logique
  • GET /api/v1/campaign_items/<id>/timeline — Audit et activités

Recherche