Skip to content

POLICY_ENDORSE

Passive (internal) call to endorse a policy.

Submit this event using Firing an Event. Product configuration and enabled actions determine the workflow behavior. Use identifiers and snapshots from the same environment.

Request payload#

This compact example is for an administrative endorsement whose configuration has nonRatingEndorsement: true. For a rated endorsement, first request POLICY_ENDORSEMENT_QUOTING, then pass the returned endorsement object here, including its quote and any quoteMap entries. The quote must not be declined.

HTTPPOST
POST https://api.{ENV}.dais.com/ioi/v3/event/fire
cURL
curl --location --request POST 'https://api.{ENV}.dais.com/ioi/v3/event/fire' \
--header 'Authorization: Basic <Base64-encoded API key and secret>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type": "POLICY_ENDORSE",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "quoteId": "<UUID of the quote request ID>",
    "policyId": "<UUID of the policy ID>",
    "documents": [],
    "endorsement": {
      "policyId": "<UUID of the policy ID>",
      "endorsementConfigId": "<UUID of the endorsement configuration ID>",
      "effectiveDate": "2026-04-01",
      "label": "<Label>"
    }
  }
}'
JSON
{
  "type": "POLICY_ENDORSE",
  "payload": {
    "clientId": "<UUID of the client ID>",
    "quoteId": "<UUID of the quote request ID>",
    "policyId": "<UUID of the policy ID>",
    "documents": [],
    "endorsement": {
      "policyId": "<UUID of the policy ID>",
      "endorsementConfigId": "<UUID of the endorsement configuration ID>",
      "effectiveDate": "2026-04-01",
      "label": "<Label>"
    }
  }
}

Request Fields#

See the shared event envelope. Set type to POLICY_ENDORSE and provide the payload below.

Payload Fields#

Required fields include the inputs used by this event's built-in action. Configured actions can require additional data.

PropertyRequiredDescription
clientIdNoUUID of the client linked to the policy.
quoteIdNoUUID of the quote.
policyIdNoUUID of the policy being endorsed. Must equal endorsement.policyId.
documentsNoList of documents related to the event.
endorsementYesEndorsement data object, including policyId, effectiveDate, and endorsementConfigId. Use the same policy ID as the parent context.
upfrontAmountToChargeNoAmount to charge upfront for the endorsement. Defaults to 0.
overrideCalculationMethodNoOverride calculation method for the endorsement (CalculationMethod).
overrideReasonNoReason for overriding the calculation method.

The built-in action resolves the endorsement configuration using endorsement.endorsementConfigId. Supply the configuration associated with this policy and product version. Keep the nested policyId and the parent policy context consistent; configuration rules determine any additional endorsement answers or quote data required.

Response#

This example illustrates the common trigger response structure. Action counts and metadata depend on the actions that run; action-specific result fields are described where applicable.

JSON
{
  "triggerRequestId": "<UUID of the trigger request ID>",
  "executedActionCount": 0,
  "expectedResponseCount": 0,
  "metadata": {}
}

Response Fields#

PropertyDescription
triggerRequestIdUUID identifying this trigger execution.
executedActionCountNumber of actions reported as executed.
expectedResponseCountNumber of expected action responses.
metadataAction-specific results; may be empty.

See Firing an Event for execution modes and response handling.