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

Activity Schema

Schema-ID
activity
Collection
activities
Permissions
  • Lezenactivity_view
  • Aanmakenactivity_create
  • Wijzigenactivity_edit
  • Verwijderenactivity_delete

Velden

Activity Schema

activities4 permissions

Schema for universal communication/activity log entries

activityTypestringvereist

Type of activity

MEETINGCALLEMAILNOTEDOCUMENTSTATUS_CHANGEOTHER
subjectstringvereist

Activity subject/title

1–500 tekens
bodystringoptioneel

Activity description/notes (plain text or markdown)

max. 200000 tekensnullable
htmlBodystringoptioneel

Rich text body (HTML)

nullable
occurredAtdatetimevereist

When the activity occurred (ISO 8601)

durationMinutesintegeroptioneel

Duration in minutes (for meetings, calls)

≥ 0nullable
directionstringoptioneel

Communication direction (for calls/emails)

INBOUNDOUTBOUND
nullable
partyIduuidoptioneel

Linked company/organization (for CRM timeline)

nullable
contactPartyIduuidoptioneel

Linked contact person

nullable
performedByIduuidoptioneel

User who performed the activity

nullable
participantIdsuuid[]optioneel

Internal user participants

Default: []nullable
externalParticipantsobject[]optioneel

External attendees (name + contact info)

Default: []nullable
namestringvereist
1–200 tekens
emailstringoptioneel
max. 254 tekensnullable
phonestringoptioneel
max. 50 tekensnullable
isInternalbooleanoptioneel

Marks an internal activity (e.g. internal meeting). Internal activities are hidden from customer-facing/external activity feeds.

Default: falsenullable
entityTypestringoptioneel

Primary linked entity type (e.g. project, ticket, opportunity)

nullable
entityIduuidoptioneel

Primary linked entity ID

nullable
linkedEntitiesobject[]optioneel

Additional linked entities beyond the primary

Default: []nullable
entityTypestringvereist
min. 1 tekens
entityIduuidvereist
rolestringoptioneel
max. 100 tekensnullable
sourceTypestringoptioneel

How this activity was created

manualphone_callcalendar_eventemail_messagesystem
nullable
sourceEntityIduuidoptioneel

ID of the source entity that generated this activity

nullable
outcomestringoptioneel

Outcome/result of the activity

max. 1000 tekensnullable
followUpDatedatetimeoptioneel

Scheduled follow-up date

nullable
tagsstring[]optioneel

Tags

Default: []nullable
followUpTaskIduuidoptioneel

UUID of the task that was auto-created from `followUpDate`. The dialog syncs this task (title/dueDate/cancellation) whenever the activity is saved. Cleared when the user removes the follow-up date.

nullable
attachmentsobject[]optioneel

File attachments

Default: []nullable
fileIdstringvereist
fileNamestringvereist
mimeTypestringoptioneel
sizeBytesintegeroptioneel
customerSentimentstringoptioneel

Captured customer sentiment for this interaction. Feeds the Customer Health Score.

positiveneutralnegativenull
nullable
customerRatingintegeroptioneel

Customer satisfaction rating (1–5 stars). Feeds the Customer Health Score.

1 – 5nullable
feedbackNotestringoptioneel

Free-text note accompanying customer sentiment/rating

max. 1000 tekensnullable
sentimentSourcestringoptioneel

Whether sentiment was captured manually or detected by AI

manualai_detectednull
nullable
aiSentimentConfidencenumberoptioneel

Confidence score 0–1 for AI-detected sentiment (Phase 2)

0 – 1nullable

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

Zoeken