Hosted KYC Web SDK
Overview
The Hosted eKYC Web Journey API allows you to programmatically generate a unique verification link for an end-user. Rather than embedding a heavy SDK into your mobile application, this API generates a secure, hosted session.
Once the link is generated, you can query the API or listen to Webhooks to retrieve the real-time status and extracted data of the user's verification journey.
Integration Flow
Environment Details
Environment
Sandbox
Base URL
https://sandbox-api-verify.np.vida.id
Content-Type
application/json
API Endpoints
1. Create Verify Link
Generates a unique hosted verification link for the user.
Method
POST
API Path
/api/v1/verify/link
Full URL
https://sandbox-api-verify.np.vida.id/api/v1/verify/link
Request Body
workflowId
string
No
SSP workflow id
20
expiresAt
Date
No
Customer expiry per link
2026-11-15T00:00:00
name
string
No
Full name of the user
Pawan Kumar
phoneNumber
string
No
Phone number with country code
+628123456780
idNumber
string
Yes
National ID number (NIK, 16 digits)
1234567890123456
email
string
No
Email address of the user
test@example.com
Sample Request
Sample Response
2. Get Verification Status
Retrieves the current progress, final status, and extracted identity data of the verification session.
Method
GET
API Path
/api/v1/verify/status/{verificationId}
Full URL
https://sandbox-api-verify.np.vida.id/api/v1/verify/status/ab7063e2-fa3a-4b1e-a7bc-95f546eccd04
Path Parameters
verificationId
string (UUID)
The unique verificationId returned by the Create Verify Link API.
Sample Request
Sample Response
Status Values
The overallStatus field indicates the user's overall progress through the flow:
PENDING
data.overallStatus
Link created, user has not started
IN_PROGRESS
data.overallStatus
User has started the verification / Failed
Success
data.overallStatus
Verification completed successfully (final status)
Flow
Get an auth token using SSO credentials that have Verify Now Access (create / status).
Call POST /api/v1/verify-link with the user details.
Save the returned verificationId and send the link to the user (before expiresAt).
The user completes verification via the link.
Call GET /api/v1/verify/status/{verificationId} to check overallStatus.
Verify Now: Disable Desktop Mode
Applies when: the Disable Desktop Mode setting is enabled for the Verify Now product.
When this setting is on, the verification link (the URL returned by POST /api/v1/verify/link) behaves differently depending on the device that opens it:
Desktop browser
Always shows a QR code instead of the verification steps. The user scans the QR code with their phone and completes the steps on the phone.
Mobile browser
Opens the verification steps page directly, with no QR code.
User flow on desktop
The user opens the verification link on a desktop browser.
A QR code is displayed. The verification steps are not available on desktop.
The user scans the QR code with their phone camera.
The verification opens in the phone's browser, and the user completes the steps there.
Webhooks
To receive real-time updates without polling the GET Status API, you can configure a Webhook endpoint. The backend engine will POST event payloads to your registered URL whenever a verification step is completed, retried, or finalized.
Webhook Payload Structure
Error Handling
400
Invalid or missing request fields
Verify that required fields (e.g. idNumber) are present and correctly formatted.
401
Missing, invalid, or expired token
Generate a new Bearer token using your credentials.
403
Token lacks Verify Now Access permission
Ensure your API roles allow transaction creation.
404
verificationId not found
Verify that the ID in the GET path matches the exact UUID from the creation response.
Last updated
