Skip to navigation

Data Transfer API

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

Idempotency-KeystringRequired
GUID. Unique per request. Manually set value if testing duplicate retry behavior.
X-Correlation-IdstringRequired
GUID. Unique identifier used for tracing the request across systems.

Request

This endpoint expects an object.
isPrefillbooleanRequired
referrerstringRequired
Referrer website URL
productenumRequired
"a" for auto, "h" for habitational
Allowed values:
languageenumRequired
"en" for English, "fr" for French
Allowed values:
firstNamestringOptional
lastNamestringOptional
preferredNamestringOptional
dateOfBirthdateOptional

Date in the YYYY-MM-DD format

phonestringOptionalformat: "tel"
emailstringOptionalformat: "email"
addressobjectOptional
partnerstringOptional
Partner name with Duuo by Cooperators
vehicleslist of objectsOptional

Response

200 - Success

dataobject
metadataobject
validationErrorslist of any
invalidNavigationPanelslist of any

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error