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

Email Rule Schema

Schema-ID
email_rule
Collection
email_rules
Permissions
  • Lezenemail_rule_view
  • Aanmakenemail_rule_create
  • Wijzigenemail_rule_edit
  • Verwijderenemail_rule_delete

Velden

Email Rule Schema

email_rules4 permissions

Tenant-scoped rules evaluated before LLM triage. First matching rule wins. ADR 0096b.

namestringvereist
1–120 tekens
descriptionstringoptioneel
max. 1000 tekensnullable
enabledbooleanvereist
priorityintegervereist
1 – 1000
accountIdstringoptioneel
nullable
conditionsobject[]vereist
1–25 items
fieldstringvereist
fromfromDomaintosubjectbodyhasAttachmentsenderMatchpartyIdemployerPartyId
opstringvereist
equalsnot_equalscontainsstarts_withends_withregexinis_setis_empty
valueanyOfoptioneel
caseSensitivebooleanoptioneel
conditionLogicstringoptioneel
and
actionobjectvereist
typestringvereist
create_ticketcreate_opportunitycreate_complaintcreate_kb_articleroute_to_inboxquarantinediscardemit_metricopen_incidentlink_external_refcreate_venue_inquiry
overridesobjectoptioneel
assigneeIdstringoptioneel
nullable
teamIdstringoptioneel
nullable
orgUnitIdstringoptioneel
nullable
prioritystringoptioneel
nullable
tagsstring[]optioneel
categoryIdstringoptioneel
nullable
queueIdstringoptioneel
nullable
ticketTypestringoptioneel
nullable
metricobjectoptioneel
namestringvereist
1–200 tekens
valuenumberoptioneel
nullable
valueExtractstringoptioneel
max. 500 tekensnullable
labelsobjectoptioneel
incidentobjectoptioneel
severitystringvereist
infowarningerrorcritical
fingerprintTemplatestringoptioneel
max. 500 tekens
titleTemplatestringoptioneel
max. 500 tekens
autoResolveOnobjectoptioneel
ruleIdstringvereist
followUpstringoptioneel
discardquarantinekeep
externalRefPatternstringoptioneel
max. 300 tekensnullable
externalRefSearchBodybooleanoptioneel
threadSystemMailsbooleanoptioneel
matchCountintegeroptioneel
≥ 0read-only
lastMatchedAtdatetimeoptioneel
read-onlynullable

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

Zoeken