Update a project flow (Subir un flujo de un proyecto)

Crear un nuevo usuario

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

Método para actualizar un Project Flow existente. Para que el servicio funcione, se requiere el parámetro _id, el cual se genera cuando un Project Flow se crea correctamente.

Si queremos que nuestro Project Flow se convierta en un proyecto activo, debemos cambiar el parámetro "status" de "draft" a "active".

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

status

string

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

Ejemplo de Cuerpo (Body Example)

En el cuerpo de este servicio, puedes enviar todos los campos generados al crear un Project Flow. La única consideración es que solo deben incluirse los campos que deseas modificar.

{
    "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/[email protected]",
        "apiTestValue": "[email protected]"
    },
    "usesWhiteList": false,
    "whiteList": {
    {
        "project": "6671e17e6e950a78d6a88299",
        "name": "Nicolas",
        "email": "[email protected]",
        "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/[email protected]",
        "apiTestValue": "[email protected]"
    },
    "usesWhiteList": false,
    "whiteList": {
    {
        "project": "6671e17e6e950a78d6a88299",
        "name": "Nicolas",
        "email": "[email protected]",
        "countryCode": "57",
        "phone": "3201234567"
    }
    }
}

Last updated