The Data Enrichment step allows you to insert one or more configurable pages into the onboarding journey, where users can provide additional structured data and/or upload attachments. When enabled in the Request Type model, an extra step appears during identification to collect this information.
Therefore, it is possible to retrieve the information provided starting from a request and then accessing data.
This API call allows you to retrieve the data collected on a specific request.
- URL:
/request/{id}/dataEnrichments/simple - Method:
GET
Ensure you include the following headers in your request:
Accept: application/jsonX-Api-Key: YOUR_API_KEY(replaceYOUR_API_KEYwith your actual API key)
id(required): The ID of the request for which you want to retrieve identifications. Example:123e4567-e89b-12d3-a456-426614174000
curl --location 'https://test-eu-ie1-api.namirialonboarding.com/api/v2/request/{id}/dataEnrichments/simple' \
--header 'Accept: application/json' \
--header 'X-Api-Key: YOUR_API_KEY'Replace YOUR_API_KEY with your actual API key and YOUR_REQUEST_ID with the ID of the request.
200 OK
Example Response:
{ "fields": [ { "id": "PHONE_OTP-1", "labelDisplayId": "labelDisplayIdPhone", "templateId": "123a3a02-1234-1234-9f4d-4e9d3f4a6fed", "value": { "type": "PHONE_OTP" }, "status": "VALIDATED" }, { "id": "EMAIL_OTP-1", "labelDisplayId": "labelDisplayIdEmail", "templateId": "123a3a02-1234-1234-9f4d-4e9d3f4a6fed", "value": { "type": "EMAIL_OTP" }, "status": "VALIDATED" } ] }