Skip to content
Introducing VIDA Identity Stack: All of VIDA, in one place 🎉
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Item
Value

Environment

Sandbox

Base URL

https://sandbox-api-verify.np.vida.id

Content-Type

application/json


1

Authentication

All requests require a valid Bearer token generated using your designated SSO credentials.

Required permission: the SSO credentials used to generate the token must have the Verify Now Access (create / status) permission. Without it, both the create (POST) and status (GET) calls will fail.

Required Headers:

2

API Endpoints

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

Field
Type
Required
Description
Example

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

Parameter
Type
Description

verificationId

string (UUID)

The unique verificationId returned by the Create Verify Link API.

Sample Request

Sample Response

3

Status Values

The overallStatus field indicates the user's overall progress through the flow:

Status
Where
Meaning

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)

4

Flow

1

Get an auth token using SSO credentials that have Verify Now Access (create / status).

2

Call POST /api/v1/verify-link with the user details.

3

Save the returned verificationId and send the link to the user (before expiresAt).

4

The user completes verification via the link.

5

Call GET /api/v1/verify/status/{verificationId} to check overallStatus.

5

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:

Device Opening the Link
Behavior

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

1

The user opens the verification link on a desktop browser.

2

A QR code is displayed. The verification steps are not available on desktop.

3

The user scans the QR code with their phone camera.

4

The verification opens in the phone's browser, and the user completes the steps there.

Notes: - The same link works on both desktop and mobile. No separate link is needed. - The QR code is shown every time the link is opened on desktop, not just on the first visit. - Use this setting when the verification needs the phone's camera, for example for liveness checks or document capture.


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.

Clients are encouraged to review this schema to prepare their webhook listeners.

Webhook Payload Structure


Error Handling

HTTP Code
Likely Cause
Resolution

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.

Notes: This is the sandbox environment; production will use a different base URL.

Last updated