# Get eKYC Details

## **Overview**

The user is required to enter the username and password under the **API Header** provided by Innov8tif Solutions.&#x20;

## API Method

## To get the full journey details including OCR results from OkayID, processed result from OkayFace, OkayLive, and OkayDoc

<mark style="color:blue;">`GET`</mark> `https://ekycportaldemo.innov8tif.com/api/ekyc/details/{journeyId}`

#### Headers

| Name                                            | Type | Description                                                                                                                                                                                       |
| ----------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> |      | <p>Basic base64(USERNAME:PASSSWORD)</p><p></p><p>e.g. dGVzdGVyOnRlc3QxMjM0<br><br>Get the USERNAME and PASSWORD from Innov8tif Solutions<br><br>encode base64 with the USERNAME and USERNAME </p> |

{% tabs %}
{% tab title="200: OK A encrypted response will be returned " %}
***To decrypt the response***

Online tool: <https://www.devglan.com/online-tools/aes-encryption-decryption>&#x20;

Decrypt value from result in JSON response using algorithm AES 128&#x20;

·        Initialization Vector (IV) = byte array of key that provided by Innov8tif Solutionss

·        Cipher= AES/CBC/PKCS5PADDING

```json
Encrypted Form
{
    "status": "success",
    "message": "api.success",
    "result": "p1GWGOfIXaDKD6............"
}


Decrypted Form
{
"id": "6e9054f0-4e25-4bb3-958b-d96c75fd2b34",
	"createdDate": 1697438472000,
	"companyId": "iPt4dDiN0lBLhnpimTPZhRP-huvZKyx-",
	"okayDocs": [
		{
			"id": "b0f22434-0855-4f2c-a003-64e86edb6605",
			"docType": "ektp_front",
			"okayDocResponse": {
				"status": "success",
				"messageCode": "api.success",
				"message": "",
				"id": "b3be9693-3879-4ebd-8c1f-5489002b11c0",
				"methodList": [
					{
						"method": "landmark",
						"label": "Landmark Analysis Result",
						"componentList": [
							{
								"code": "l-ektp-front-nik",
								"label": "Nik",
								"value": "66.08650088310242",
								"imageUrl": "/public/image/v2/b3be9693-3879-4ebd-8c1f-5489002b11c0?type=l-ektp-front-nik"
							},
							
							
............							
}

```

{% endtab %}
{% endtabs %}

## API Response

| status  | Indicate API status. Values can be **Success** or **Error**.                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| message | <p>Status message if the status is an error.</p><ul><li>INVALID\_AUTH\_HEADER– invalid authentication header.</li><li>WRONG\_CREDENTIAL – invalid username or password.</li><li>INVALID\_JOURNEY\_ID – invalid journeyId</li><li>AUTHORIZATION\_ERROR – authorization error: when journeyId doesn’t belong to the requested username/password</li><li>ERROR\_NO\_PERMISSION – indicate control ‘Allow journey deletion via API’ is disabled ( in IDV module for each account)</li></ul> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/get-ekyc-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
