> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/authentication/custom/sdk/user-journey.md).

# User Journey

<figure><img src="/files/SIRc7OftualJsRk3MqJd" alt=""><figcaption></figcaption></figure>

### **Initiate KYC Process to Obtain KycEventId**:

The user starts the KYC process in the application. The application calls the Identity verification API services to create a KYC event and receives a `kycEventId`.

### **Retrieve Auth ID**:

An API call is made with the obtained `kycEventId` to request an authentication ID (`authId`) from the Vida Auth API.

**API Description**

**Method :** `POST`

**URL :** `https://{service-environment-url}/main/v1/services`

**Sample Request**&#x20;

```json
{
    "mode" : "FACE",
    "kycEventId" : "df33s6fds-df324-fsd32dfs-fds34gf",
    "purpose" : "Purpose of the Authentication"  
}
```

### **Verify Selfie**:

The application sends  `authId` to the Auth SDK for verification. The SDK initiates the selfie capture&#x20;

### **Capture Live Selfie**:

The user is prompted to capture a live selfie using the Liveness SDK. The Liveness SDK captures the selfie once the SDK's validation criteria's are met and returns image to Auth SDK, then it verifies the selfie against the `authId`.

### **Handle Authentication Result**:

Based on the result the partner can continue the transaction, or notify the user and may prompt a retry
