Initiate collection
Initiate an insurance data collection for a given individual based on the CollectionRequestInput with the specified login method.
Request
Header Parameters
Specifies the API version to use. Must match the version of the endpoint you are targeting.
2021-01-01.Request Body
A set of consents provided by the end user.
Key-value object specifying additional input required for the insurance collection. What values should be included depends on context.Possible keys are SWEDISH_PERSONAL_NUMBER, NORWEGIAN_PERSONAL_NUMBER, NORWEGIAN_PHONE_NUMBER,USERNAME, PASSWORD, LASTNAME, ACCOUNT_OWNER_NAME.
The name of the insurance company to trigger the insurance collection from
Login method that will be used to authenticate the user. Available login methods for a company is specified in the /insurance-company/status response.
DANISH_NEMID, DANISH_MITID, DANISH_MITID_SAME_DEVICE, ESTONIAN_MOBILE_ID, ESTONIAN_SMART_ID, ESTONIAN_MOBILE_ID_USERNAME, ESTONIAN_SMART_ID_USERNAME, LATVIAN_MOBILE_EPARAKSTS, LATVIAN_SMART_ID, LATVIAN_MOBILE_EPARAKSTS_USERNAME, LATVIAN_SMART_ID_USERNAME, LITHUANIAN_SMART_ID, LITHUANIAN_MOBILE_ID, LITHUANIAN_SMART_ID_USERNAME, LITHUANIAN_MOBILE_ID_USERNAME, NORWEGIAN_BANKID_ON_MOBILE, NORWEGIAN_BANKID_ON_MOBILE_FULL_PERSONAL_NUMBER, SWEDISH_MOBILE_BANKID_ANY_DEVICE, SWEDISH_MOBILE_BANKID_OTHER_DEVICE, SWEDISH_MOBILE_BANKID_OTHER_DEVICE_MOCK, SWEDISH_MOBILE_BANKID_SAME_DEVICE, SWEDISH_MOBILE_BANKID_SAME_DEVICE_CLIENT_SIDE_AUTHENTICATION, SWEDISH_MOBILE_BANKID_SAME_DEVICE_CLIENT_SIDE_AUTHENTICATION_MOCK, SWEDISH_MOBILE_BANKID_ANY_DEVICE_TEST, SWEDISH_MOBILE_BANKID_OTHER_DEVICE_TEST, SWEDISH_MOBILE_BANKID_SAME_DEVICE_TEST, SWEDISH_SECURITY_TOKEN, UK_DOB_USERNAME_PASSWORD, UK_LASTNAME_MEMBERSHIP_NUMBER, UK_USERNAME_POSTCODE, USERNAME_AND_PASSWORD, EMAIL, PDF_UPLOAD or MANUAL_SELECT.Responses
Data collection successfully initiated.
Body
A key-value map containing potential extra information, depending on the company the collection is getting data from.
The collection ID of the request
Insurance company that this collection is from
Current status of the collection request. Possible values are: RUNNING, LOGIN, COLLECTING, COMPLETED, COMPLETED PARTIAL, COMPLETED EMPTY, FAILED, USER INPUT, WAITING FOR AUTHENTICATION, INCORRECT CREDENTIALS
curl https://api.insurely.com/insurance-collection/collect-info \
-H "client-id: <client-id>" \
-H "Content-Type: application/json" \
-d '{
"consents": [
{
"type": "TRADE_UNION_MEMBERSHIP"
}
],
"filter": {
"rules": []
},
"input": {
"SWEDISH_PERSONAL_NUMBER": "192101010101"
},
"insuranceCompany": "se-lansforsakringar",
"loginMethod": "SWEDISH_MOBILE_BANKID_ANY_DEVICE"
}' \
-X POST