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

Escalation Policy Schema

ID du schéma
escalation_policy
Collection
escalation_policies
Autorisations
  • Lireescalation_policy_view
  • Créerescalation_policy_manage
  • Modifierescalation_policy_manage
  • Supprimerescalation_policy_manage

Champs

Escalation Policy Schema

escalation_policies4 autorisations

Schema for validating escalation policy entities with multi-level notification chains

namestringobligatoire

Policy name

1–200 caractères
descriptionstringfacultatif

Policy description

nullable
conditionsobjectfacultatif

Conditions that must match for this policy to apply

nullable
prioritiesstring[]facultatif

Alert priorities this policy applies to

customerTiersstring[]facultatif

Customer tiers this policy applies to

afterHoursOnlybooleanfacultatif

Whether this policy only applies outside business hours

schemasstring[]facultatif

Entity schemas this policy applies to (e.g. ticket, asset)

levelsobject[]obligatoire

Escalation levels in order

_idstringfacultatif

UUIDv7 level ID

lecture seule
levelintegerobligatoire

Escalation level (1 = first responder)

≥ 1
namestringobligatoire

Level display name

max. 200 caractères
recipientsobject[]obligatoire

Who to notify at this level

typestringobligatoire

Recipient type

USERON_CALLTEAMROLEPLACEHOLDER
refstringobligatoire

Reference ID (UUID or placeholder token)

labelstringfacultatif

Human-readable display label (cached for UI)

nullable
notificationStepsobject[]obligatoire

Ordered notification steps within this level

orderintegerobligatoire

Step execution order

channelstringobligatoire

Notification channel

PUSHEMAILCALLSMS
delayMinutesintegerobligatoire

Delay in minutes before sending this step

≥ 0
escalationTimeoutMinutesintegerobligatoire

Minutes to wait before escalating to next level

≥ 1
maxRetriesintegerfacultatif

Maximum notification retries at this level

≥ 0Par défaut : 2
retryIntervalMinutesintegerfacultatif

Minutes between retries

≥ 1Par défaut : 2
fallbackActionstringfacultatif

Action when all levels are exhausted without acknowledgement

NOTIFY_ALLCREATE_TICKETNONE
Par défaut : "NONE"
fallbackRecipientsobject[]facultatif

Recipients for fallback action

Par défaut : []
typestringobligatoire

Recipient type

USERON_CALLTEAMROLEPLACEHOLDER
refstringobligatoire

Reference ID (UUID or placeholder token)

labelstringfacultatif

Human-readable display label (cached for UI)

nullable
isDefaultbooleanobligatoire

Whether this is the default escalation policy

isActivebooleanobligatoire

Whether this escalation policy is active

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

Recherche