Skip to main content

Smart Enroll Project Flow

Create a project flow specifically configured for Smart Enroll onboarding. This flow is optimized for the Smart Enroll system and includes all necessary configurations for a complete onboarding experience.

Endpoint

POST https://api.verifik.co/v2/project-flows

Headers

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>

Request Body

NameTypeRequiredDescription
projectstringYesThe project ID this flow belongs to
typestringYesFlow type: "onboarding" for Smart Enroll
namestringYesName of the project flow
targetstringYesTarget type: "personal" or "business"
statusstringYesInitial status: "draft" or "active"

Request

const fetch = require("node-fetch");

async function run() {
const res = await fetch("https://api.verifik.co/v2/project-flows", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
body: JSON.stringify({
project: "64a1b2c3d4e5f6789012345",
type: "onboarding",
name: "Smart Enroll Project Flow",
target: "personal",
status: "draft",
signUpForm: {
fullName: true,
fullNameStyle: "separate",
email: true,
emailGateway: "mailgun",
phone: true,
phoneGateway: "whatsapp",
countryCode: "US",
showTermsAndConditions: true,
showPrivacyNotice: true
},
documents: {
attemptLimit: 3,
criminalHistoryVerification: true,
informationVerification: true,
screening: true,
verificationMethods: ["SCAN_PROMPT"],
documentTypes: [
{
country: "United States",
configurations: [
{
active: true,
documentCategory: "government_id",
documentTemplates: []
}
]
}
]
},
liveness: {
attemptLimit: 3,
minScore: 0.65,
searchMinScore: 0.8,
searchMode: "FAST"
},
steps: {
document: "mandatory",
liveness: "mandatory"
}
}),
});
console.log(await res.json());
}

run();

Response

{
"data": {
"_id": "64a1b2c3d4e5f6789012346",
"project": "64a1b2c3d4e5f6789012345",
"type": "onboarding",
"name": "Smart Enroll Project Flow",
"target": "personal",
"status": "draft",
"version": 1,
"signUpForm": {
"fullName": true,
"fullNameStyle": "separate",
"email": true,
"emailGateway": "mailgun",
"phone": true,
"phoneGateway": "whatsapp",
"countryCode": "US",
"showTermsAndConditions": true,
"showPrivacyNotice": true
},
"documents": {
"attemptLimit": 3,
"criminalHistoryVerification": true,
"informationVerification": true,
"screening": true,
"verificationMethods": ["SCAN_PROMPT"],
"documentTypes": [
{
"country": "United States",
"configurations": [
{
"active": true,
"documentCategory": "government_id",
"documentTemplates": []
}
]
}
]
},
"liveness": {
"attemptLimit": 3,
"minScore": 0.65,
"searchMinScore": 0.8,
"searchMode": "FAST"
},
"steps": {
"document": "mandatory",
"liveness": "mandatory"
},
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
}

Features

  • Smart Enroll Optimized: Pre-configured for Smart Enroll onboarding flows
  • Complete Configuration: Includes sign-up form, documents, and liveness settings
  • Flexible Setup: Customize document types and verification methods
  • Security Features: Criminal history and information verification included
  • Multiple Countries: Support for various country configurations

Notes

  • This flow is specifically designed for Smart Enroll onboarding processes
  • The flow includes all necessary configurations for a complete verification journey
  • Document verification methods can be customized based on your needs
  • Liveness detection is configured with appropriate thresholds for security