Skip to navigation

quote_request.completed

View as Markdown

Sent when collection ends with results. A request with zero quotes can still complete. See Webhooks to check the signature and handle retries.

Headers

webhook-idstringRequired
The ID of the delivered message. It stays the same on every retry of that message.
webhook-timestampstringRequiredformat: "^[0-9]+$"
When the message was signed, in Unix seconds.
webhook-signaturestringRequired
One or more signatures, separated by spaces. Accept the message if any one of them matches.

Payload

The payload of this webhook request is an object.
idstringRequiredformat: "^evt_[a-z0-9]{8,64}$"
The event ID. It stays the same in the feed, in each retry, and in each replay, so skip an ID that you've already processed.
typestringRequired
What happened. Ignore a type that you don't know, and still answer 2xx.
occurred_atdatetimeRequired
When Truvo recorded the event.
environmentstringRequired

The environment of the call: sandbox or live.

linestringRequired
The insurance line.
resourceobjectRequired
The resource that changed, and the version it reached. Read the resource to see what changed.

Response

200

Answer with a 2xx status within 15 seconds to confirm the delivery.