Project flows define a specific use for Verifik services and how we want to implement them. In this context, we will define various data points that Verifik will use to perform validations using passwordless and liveness detection technologies.
**https://api.verifik.co/v2/project-flows**
The creation of a project flow involves various components, which will be listed below:
{
"project": "65b03015c03e1a1b595fe61c",
"type": "login",
"status": "active",
"redirectUrl": "<https://verifik.co>",
"identityUrl": "<https://faas-nyc1-2ef2e6cc.doserverless.co/api/v1/web/fn-b88d2a3d-137b-4d8c-95af-9c4f33f69af4/passwordless-validation-url/[email protected]>",
"loginSettings": {
"searchMode": "FAST",
"email": true,
"emailGateway": "mailgun",
"phone": false,
"phoneGateway": "both",
"faceLiveness": true,
"showFaceLivenessRecommendation": false,
"livenessMinScore": 0.9,
"searchMinScore": 0.95
},
"security": {
"strategy": "whitelist",
"apiTestType": "email",
"_id": "65c166926d38504eb418d1ed",
"source": "API",
"apiUrl": "<https://faas-nyc1-2ef2e6cc.doserverless.co/api/v1/web/fn-b88d2a3d-137b-4d8c-95af-9c4f33f69af4/passwordless-validation-url/[email protected]>",
"apiTestValue": "[email protected]"
}
}
Login Settings refers to all the validations that will be performed in this flow. For these implementations to be created correctly, the type of the project flow must be set to login. The following explains each of these elements and what they refer to in the configuration:
{
"loginSettings": {
"searchMode": "FAST",
"email": true,
"emailGateway": "mailgun",
"phone": false,
"phoneGateway": "none",
"faceLiveness": true,
"livenessMinScore": 0.9,
"searchMinScore": 0.95,
"showFaceLivenessRecommendation": false
}
}