Skip to content

UNDERWRITING_APPROVED

This event is fired when underwriting approves a quote or policy application. It indicates that the risk has been accepted and the policy can proceed.

When and what fires this event?

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

  • Underwriting system: fires when an underwriter approves a quote or application;
  • API: can fire this event externally on demand;
  • Automated workflows: fires when underwriting approval is granted.

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": "UNDERWRITING_APPROVED",
    "payload": {
        "clientId": "<clientId>",
        "quoteId": "<quoteId>",
        "policyId": "<policyId>",
        "policyNumber": "<policyNumber>"
    }
}'
{
    "type": "UNDERWRITING_APPROVED",
    "payload": {
        "clientId": "3781f5c0-fae6-4bab-8091-8d385fd2a8f5",
        "quoteId": "d0d0eadc-fb94-49e3-b03a-f3cb2bb6882c",
        "policyId": "fcbd4955-9f37-4c95-97d2-aa9144c9811a",
        "policyNumber": "123456789"
    }
}

Request fields

PropertyRequiredDescription
typetrueMust be set to UNDERWRITING_APPROVED
payloadtrueSee Payload fields below

Payload fields

PropertyRequiredDescription
clientIdfalseUUID for the client
quoteIdfalseUUID for the quote
policyIdfalseUUID for the policy
policyNumberfalsePolicy number

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.