Update a project flow

Create a new user

PUT- https://api.verifik.co/v2/project-flows/{id}

Method for updating an existing projectFlow. To make the service work, the _id parameter is required, which is generated when a projectFlow is created correctly.

If we want our project to become an active projectFlow, we must change the "status" parameter from "draft" to "active".

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

status

string

Current Status of the project, can be "draft" or "active", only "active" projects can be used.

Body Example

In the body of this service, you can send all the fields generated when creating a projectFlow. The only thing to consider is that the fields we want to modify are the ones that must be included in the body.

{
    "project": "6671e17e6e950a78d6a88299",
    "type": "login",
    "status": "active",
    "redirectUrl": "https://verifik.co",
    "allowedCountries": [
        "Colombia"
    ],
    "loginSettings": {
        "email": false,
        "emailGateway": "mailgun",
        "phone": true,
        "phoneGateway": "both",
        "faceLiveness": true,
        "showFaceLivenessRecommendation": true,
        "livenessMinScore": 0.65,
        "searchMode": "FAST",
        "searchMinScore": 0.85
    },
    "security": {
        "strategy": "whitelist",
        "source": "CSV",
        "apiTestType": "email",
        "apiUrl": "https://faas-nyc1-2ef2e6cc.doserverless.co/api/v1/web/fn-b88d2a3d-137b-4d8c-95af-9c4f33f69af4/passwordless-validation-url/demo-passwordless-validation-url?email=daniel@gomat.co",
        "apiTestValue": "daniel@gomat.co"
    },
    "usesWhiteList": false,
    "whiteList": {
    {
        "project": "6671e17e6e950a78d6a88299",
        "name": "Nicolas",
        "email": "hola@verifik.co",
        "countryCode": "57",
        "phone": "3201234567"
    }
    }
}

Response

{
    "project": "6671e17e6e950a78d6a88299",
    "type": "login",
    "status": "active",
    "redirectUrl": "https://verifik.co",
    "allowedCountries": [
        "Colombia"
    ],
    "loginSettings": {
        "email": false,
        "emailGateway": "mailgun",
        "phone": true,
        "phoneGateway": "both",
        "faceLiveness": true,
        "showFaceLivenessRecommendation": true,
        "livenessMinScore": 0.65,
        "searchMode": "FAST",
        "searchMinScore": 0.85
    },
    "security": {
        "strategy": "whitelist",
        "source": "CSV",
        "apiTestType": "email",
        "apiUrl": "https://faas-nyc1-2ef2e6cc.doserverless.co/api/v1/web/fn-b88d2a3d-137b-4d8c-95af-9c4f33f69af4/passwordless-validation-url/demo-passwordless-validation-url?email=daniel@gomat.co",
        "apiTestValue": "daniel@gomat.co"
    },
    "usesWhiteList": false,
    "whiteList": {
    {
        "project": "6671e17e6e950a78d6a88299",
        "name": "Nicolas",
        "email": "hola@verifik.co",
        "countryCode": "57",
        "phone": "3201234567"
    }
    }
}

Last updated