Skip to content

RENEWAL_CANCELLED

This event is fired when a policy renewal is cancelled.
It indicates that the system has successfully cancelled the renewal process for a policy and logs this as a non-renewal event.

When and what fires this event?

If this event is defined on a product, and it has actions that are enabled:

  • System: fires this event automatically when a policy renewal is cancelled;
  • Automation: triggers notifications such as emails or webhooks according to the configured actions;
  • Event payload: includes contextual information about the client, policy, and the cancellation details.

Request payload

POST: https://api.{ENV}.dais.com/ioi/v3/event/fire

curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <yourAuthHere>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "RENEWAL_CANCELLED",
  "payload": {
    "policyId": "<UUID>",
    "clientId": "<UUID, optional>",
    "quoteId": "<UUID, optional>",
    "documents": [],
    "configId": "<UUID>",
    "label": "<string>",
    "backofficeIntake": {}
  }
}'
{
  "type": "RENEWAL_CANCELLED",
  "payload": {
    "policyId": "a1213f1b-0a41-4f9e-97c8-30ce21aa87b1",
    "clientId": "c07a0db0-0667-46b1-ad8b-d1a19829f03e",
    "quoteId": "b2324g2c-1b52-5g0f-98d9-41df32bb98c2",
    "documents": [],
    "configId": "c3435h3d-2c63-6h1g-a9e0-52eg43cc09d3",
    "label": "Renewal cancelled by client request",
    "backofficeIntake": {
      "reason": "Client requested cancellation",
      "cancelledBy": "agent@example.com"
    }
  }
}

Request fields

PropertyRequiredDescription
typetrueMust be set to RENEWAL_CANCELLED.
payloadtrueObject containing event-specific data.

Payload fields

PropertyRequiredTypeDescription
policyIdtrueUUIDUnique identifier of the policy.
clientIdfalseUUIDUUID of the client associated with the policy
quoteIdfalseUUIDUUID of the quote
documentsfalseArrayList of document.
configIdtrueUUIDConfiguration identifier related to the policy renewal.
labelfalseStringOptional label or reason for the renewal cancellation.
backofficeIntakefalseMapOptional key-value map with backoffice data or form inputs.

Response json

{
  "triggerRequestId": "386861af-6875-49b2-b38c-c435263039be",
  "executedActionCount": 0,
  "expectedResponseCount": 0,
  "metadata": {}
}

Response fields

PropertyRequiredDescription
triggerRequestIdtrueUUID that uniquely identifies the trigger execution instance.
executedActionCounttrueNumber of actions executed during this trigger run.
expectedResponseCounttrueNumber of responses expected from the executed actions.
metadatatrueContains dynamically generated data from executed workflow actions.