Sync App Registration Status
PUT
https://api.verifik.co/v2/app-registrations/{appRegistrationId}/sync
The App Registration Sync
endpoint updates the status and step of an app registration process. This endpoint is useful for syncing the registration status, especially when specific conditions or criteria have been met.
Headers
Content-Type
application/json
Authorization
Bearer {YOUR_ACCESS_TOKEN}
The JWT Token you should use when running the Sync
is provided from the App Registration
.
Query Parameters
appRegistrationId
string
ID for the App Registration record you would like to sync
Body
step
string
Yes
Specifies the step to update, e.g., skipKYC.
status
string
Yes
The new status of the registration, e.g., COMPLETED_WITHOUT_KYC.
Step Options and Status Combinations
skipKYC
Step
skipKYC
StepCOMPLETED_WITHOUT_KYC
Skip KYC verification
- Validates sign-up form requirements - Updates status to ONGOING if KYC steps are not mandatory - Sends data to HubSpot integration - Returns sign-up form response with token
Note: This step only works if all mandatory KYC steps (basicInformation, document, form, liveness) are not set to "mandatory" in the project flow configuration.
IMPORTANT: The skipKYC
step is crucial for onboarding
type flows as it provides the authentication token that users need to login to your system. This will provide your users with the token for accessing your application.
instructions
Step
instructions
StepONGOING
Continue with instructions
- Updates status to ONGOING - Moves to next step in the flow
signUpForm
Step
signUpForm
StepONGOING
Continue with sign-up form
- Validates sign-up form requirements - Updates status to ONGOING - Returns sign-up form response with token
basicInformation
Step
basicInformation
StepONGOING
Continue with basic information
- Updates status to ONGOING - Moves to next step in the flow
document
Step
document
StepONGOING
Continue with document verification
- Updates status to ONGOING - Returns sign-up form response with token
liveness
Step
liveness
StepONGOING
Continue with liveness verification
- Updates status to ONGOING - Returns liveness response with token
form
Step
form
StepONGOING
Continue with form completion
- Updates status to ONGOING - Moves to next step in the flow
end
Step ⭐ CRUCIAL FOR ONBOARDING FLOWS
end
Step ⭐ CRUCIAL FOR ONBOARDING FLOWSCOMPLETED
Complete registration successfully
- Validates all required fields and verifications - Updates status to COMPLETED - Returns authentication token for user login - Sends completion data to HubSpot integration - Triggers webhook events
FAILED
Mark registration as failed
- Updates status to FAILED - Returns authentication token for user login - Triggers webhook events
NEEDS_MANUAL_VERIFICATION
Require manual review
- Updates status to NEEDS_MANUAL_VERIFICATION - Returns authentication token for user login - Triggers webhook events
IMPORTANT: The end
step is crucial for onboarding
type flows as it provides the authentication token that users need to login to your system. Without completing this step, users cannot access their accounts.
Example Body
Skip KYC Example
{
"step": "skipKYC",
"status": "COMPLETED_WITHOUT_KYC"
}
Complete Registration Example
{
"step": "end",
"status": "COMPLETED"
}
Mark as Failed Example
{
"step": "end",
"status": "FAILED"
}
Require Manual Verification Example
{
"step": "end",
"status": "NEEDS_MANUAL_VERIFICATION"
}
Request
curl -X PUT 'https://api.verifik.co/v2/app-registrations/{appRegistrationId}/sync' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"step": "end",
"status": "COMPLETED"
}'
Response
{
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"step": "signUpForm",
"steps": {
"signUpForm": "mandatory",
"basicInformation": "skip",
"document": "mandatory",
"liveness": "mandatory",
"form": "skip"
},
"appRegistrationId": "507f1f77bcf86cd799439011",
"status": "ONGOING"
}
}
What Happens After Each Step
Validation and Status Updates
skipKYC: Validates sign-up form requirements before allowing KYC skip
signUpForm: Ensures all mandatory sign-up information is complete
end: Performs comprehensive validation of all required fields and verifications
Integration Points
Webhook Events: Triggers webhook notifications for status changes
Token Generation: Provides authentication tokens for user access
Status Flow Control
ONGOING: Continues the registration process to the next step
COMPLETED: Finalizes registration and provides full access
FAILED: Marks registration as unsuccessful but still provides access token
NEEDS_MANUAL_VERIFICATION: Requires human review before completion
Important Notes
Token Generation: The
end
step is the only step that guarantees token generation for user authenticationValidation Requirements: Each step may have specific validation requirements that must be met
KYC Skip Logic: Skipping KYC only works if no mandatory verification steps are configured
Webhook Integration: All status changes trigger webhook events if configured in the project flow
Common Use Cases
Complete Registration: Use
end
step withCOMPLETED
status to finalize user registrationSkip Verification: Use
skipKYC
step to bypass verification requirements when appropriateManual Review: Use
end
step withNEEDS_MANUAL_VERIFICATION
status for flagged registrationsStep Progression: Use intermediate steps to move users through the registration flow
This endpoint provides comprehensive control over the app registration process, allowing you to manage user progression, handle edge cases, and ensure proper authentication token generation for onboarding flows.
Last updated
Was this helpful?