Create an App Registration
POST
https://api.verifik.co/v2/app-registrations
An App Registration is an instance within Verifik's system that allows a user to initiate the authentication and validation process using specified project flows, email, and/or phone details. This process ensures the identity of the user and provides secure validation through various verification steps.
When creating an App Registration, a token
is returned in the request. You must use this token to create document validations
, email validations
, phone validations
and biometric validations
for App Registrations. This ensures the validations are related to the app registrant.
The token
can be recreated by entering the same information (phone
/email
), however, any phone
or email
validations previously completed will be deleted. We recommend you have your users complete the email
and phone
validations again to re-validate they are the original owner of the data.
Headers
Content-Type
application/json
Body
project
string
The unique ID of the project associated with this registration.
projectFlow
string
The unique ID of the project flow that defines the registration and validation process.
email
string
The email address for the user to be registered. (Either email
or phone
is required).
phone
string
The phone number for the user to be registered. (Either email
or phone
is required).
countryCode
string
The country code associated with the phone number. Required if phone
is provided. Format: +123
fullName
string
The full name of the person being registered.
language
string
The preferred language for communication during the registration process. Default: "en"
.
Minimal Body Data
{
"project": "507f1f77bcf86cd799439011",
"projectFlow": "507f1f77bcf86cd799439012",
"email": "[email protected]"
}
Full Body Data
{
"project": "507f1f77bcf86cd799439011",
"projectFlow": "507f1f77bcf86cd799439012",
"email": "[email protected]",
"phone": "1234567890",
"countryCode": "+1",
"fullName": "John Doe",
"language": "es"
}
Request
curl -X POST https://api.verifik.co/v2/app-registrations \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"project": "507f1f77bcf86cd799439011",
"projectFlow": "507f1f77bcf86cd799439012",
"email": "[email protected]",
"phone": "1234567890",
"countryCode": "+1",
"fullName": "John Doe",
"language": "es"
}'
Response
The response will contain information about the new App Registration
instance. Important fields include the unique identifier _id
, the status
of the registration process, and a token
to use for subsequent requests to enroll the user.
{
"data": {
"appRegistration": {
"_id": "507f1f77bcf86cd799439013",
"client": "507f1f77bcf86cd799439014",
"project": "507f1f77bcf86cd799439011",
"projectFlow": "507f1f77bcf86cd799439012",
"status": "STARTED",
"email": "[email protected]",
"countryCode": "+1",
"phone": "1234567890",
"fullName": "John Doe",
"language": "es",
"currentStep": "Document Verification",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
"informationValidation": {
"_id": "507f1f77bcf86cd799439015"
},
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
}
Last updated
Was this helpful?