---
title: CKYC Search and Fetch without OTP API
slug: api-marketplace/ckyc-search-and-fetch-without-otp-api
description: Learn about the CKYC fetch API for authorized entities to access customer records. Find specifications, request and response formats, required parameters, and code examples. Discover input fields, personal information, and related details available for ac
createdAt: 2023-04-20T20:28:28.000Z
---

This **unified API solution eliminates the need for multiple API calls&#x20;**&#x62;y combining Search and Fetch functionality into a single, comprehensive endpoint. Instead of hitting two separate APIs, you can now access complete CKYC data through **one streamlined API call**.

You can also fetch data by hitting Fetch data by request ID.

**Note:** Please use your dedicated server endpoint in case this module is deployed on your server.



**Signup API request (one-time hit for User registration)**

| **Parameter** | **Data Type** | **Description** | **Required** |
| ------------- | ------------- | --------------- | ------------ |
| email         | String        | email           | Mandatory    |
| password      | String        | password        | Mandatory    |
| branchCode    | String        | Given by CERSAI | Mandatory    |
| regionCode    | String        | Given by CERSAI | Mandatory    |
| cersaiUserId  | String        | Given by CERSAI | Mandatory    |



**Signup API request curl**

```json
curl --location 'https://{ClientServerDomain}/ckyc/user/signup' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "nikhilmaske@signzy.com",
  "password": "Pr#203",
  "branchCode": "BR001",
  "regionCode": "RC001",
  "cersaiUserId": "CERU001"
}'
```

**Signup API response:**

```json
{
    "result": {
        "success": true,
        "message": "New user created"
    }
}

```



**Login API request (first hit)&#xA0;**

This API is used to generate token. This token will be used in the below API request in Fetch without OTP and the validity is 1 hour.

```json
curl --location 'http://{ClientServerDomain}/ckyc/user/login' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
  "email": "nikhilmaske@signzy.com", //User email
  "password": "Pr#203" //created one time during Signup
}'
```

**Login API response:**

```json
{
    "result": {
        "token": "jwt:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNiNzJlYzU1LWY0OTctNDU1ZS1iYmVhLTBlZGFkGIzYzA3MyIsImlhdCI6MTc1NTg1NTM2NSwiZXhwIjoxNzU1ODU4OTY1fQ.lNVWP8qSq3b=n4szgyZoHpY5MRfXds7N_lknEH-VF4LE"
    }
}
```



***

## API details

### Endpoint

:::CodeblockTabs
Production environment

```jsx
POST https://{ClientServerDomain}/ckyc/ckyc-search-sftp/ckyc-sftp/get-request-id
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://{ClientServerDomain}/ckyc/ckyc-search-sftp/ckyc-sftp/get-request-id'
```
:::

***

### Request headers&#x20;

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters



| **Parameter**   | **Data Type** | **Description**                                                                                                                                   | **Required** |
| --------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| task            | String        | "SEARCH\_FETCH"                                                                                                                                   | Mandatory    |
| recordType      | String        | "INDIVIDUAL", "LEGAL"                                                                                                                             | Mandatory    |
| idNumber        | String        | The ID number of the particular ID type is provided.<br />For possible inputs, Refer to the table **Supporting ID Types** below.                  | Mandatory    |
| idType          | String        | Type of the ID provided.<br />For possible inputs,  Refer to the table **Supporting ID Types** below.                                             | Mandatory    |
| ckycNumber      | String        | CKYC number or newly  introduced CKYC Alphanumeric Reference ID received from CKYC Search API response                                            | Optional     |
| authFactorType  | String        | Type of the ID provided.<br />For possible inputs,  Refer to the table **Supporting ID Types** below.                                             | Optional     |
| authFactorValue |               | The value associated with the authentication factor type used.<br />For possible inputs, Refer to the table **Authorization Factor Types** below. | Optional     |
| env             | String        | "preproduction" (Pass specifically "preproduction" only if you want to hit CERSAI Sandbox, else do not pass this field)                           | Optional     |
| callbackUrl     | String        | Callback URL where CKYC Fetch response would be pushed once received in CERSAI SFTP                                                               | Mandatory    |

```json
{
    "task": "SEARCH_FETCH",
    "recordType": "INDIVIDUAL",
    "idNumber": "KTCCK1239T",
    "idType": "P",
    "ckycNumber": "LEVWXI96290429",
    "authFactorType": "03",
    "authFactorValue": "XXXXXX6045",
    "env": "PREPRODUCTION",
    "callbackUrl": ""
}
```

:::CodeblockTabs
```curl
curl --location 'https://{ClientServerDomain}/ckyc/ckyc-search-sftp/ckyc-sftp/get-request-id' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer jwt' \
--data '{
    "task": "SEARCH_FETCH",
    "recordType": "INDIVIDUAL",
    "idNumber": "KTCCK1239T",
    "idType": "P",
    "ckycNumber": "LEVWXI96290429",
    "authFactorType": "03",
    "authFactorValue": "XXXXXX6045",
    "env": "PREPRODUCTION",
    "callbackUrl": ""
}'
```

```nodejs
// index.js
const express = require('express');
const cors = require('cors');
const helmet = require('helmet');

const app = express();
app.use(helmet());
app.use(cors());
app.use(express.json());

app.get('/health', (req, res) => {
  res.json({ status: 'ok', service: 'node', time: new Date().toISOString() });
});

app.get('/greet', (req, res) => {
  const name = (req.query.name || 'World').toString();
  res.json({ message: `Hello, ${name}!` });
});

const port = process.env.PORT || 3000;
app.listen(port, () => {
  console.log(`Node server listening on port ${port}`);
});

```

```python
# main.py
from fastapi import FastAPI, Query
from datetime import datetime

app = FastAPI(title="Sample API", version="1.0.0")

@app.get("/health")
def health():
    return {"status": "ok", "service": "python", "time": datetime.utcnow().isoformat() + "Z"}

@app.get("/greet")
def greet(name: str = Query(default="World")):
    return {"message": f"Hello, {name}!"}

```

```go
// main.go
package main

import (
	"net/http"
	"time"

	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()

	r.GET("/health", func(c *gin.Context) {
		c.JSON(http.StatusOK, gin.H{
			"status":  "ok",
			"service": "go",
			"time":    time.Now().UTC().Format(time.RFC3339),
		})
	})

	r.GET("/greet", func(c *gin.Context) {
		name := c.DefaultQuery("name", "World")
		c.JSON(http.StatusOK, gin.H{"message": "Hello, " + name + "!"})
	})

	port := "8080"
	r.Run(":" + port)
}

```
:::

***

### Auth factor type&#x20;

| **authFactorType** | **authFactorValue**                                      | **authFactorValue-Format**                                              |
| ------------------ | -------------------------------------------------------- | ----------------------------------------------------------------------- |
| 01                 | Date of Birth of the Individual.                         | DD-MM-YYYY                                                              |
| 02                 | Pincode of the registered address and Year of Birth.     | XXXXXXYYYY<br />Where XXXXXX is the Pincode and YYYY is the Birth Year. |
| 03                 | 10-digit Mobile number corresponding to the CKYC number. | 0000000000                                                              |



### Response body parameters

| Parameter                                                | Data Type        | Description                                                    |
| -------------------------------------------------------- | ---------------- | -------------------------------------------------------------- |
| result                                                   | Object           | Root object containing CKYC response data.                     |
| result.requestId                                         | requestId        | requestId received from above                                  |
| result.recordType                                        | recordType       | "INDIVIDUAL" or "LEGAL"                                        |
| result.status                                            | status           | "SUCCESS"                                                      |
| result.response                                          | Object           | Response object containing detailed CKYC response.             |
| result.response.imageDetails                             | Array of Objects | List of image details.                                         |
| result.response.imageDetails\[].branchCode               | String           | Branch code associated with the image.                         |
| result.response.imageDetails\[].sequenceNo               | String           | Sequence number of the image.                                  |
| result.response.imageDetails\[].imageData                | String           | Base64-encoded image string.                                   |
| result.response.imageDetails\[].globalFlag               | String           | Global flag (optional/empty).                                  |
| result.response.imageDetails\[].imageCode                | String           | Code identifying the type of image.                            |
| result.response.imageDetails\[].imageType                | String           | Image file type (e.g., jpg).                                   |
| result.response.personalDetails                          | Object           | Personal details of the individual.                            |
| result.response.personalDetails.motherPrefix             | String           | Prefix of mother's name.                                       |
| result.response.personalDetails.prefix                   | String           | Name prefix (e.g., Mr, Ms).                                    |
| result.response.personalDetails.mobileNumber             | String           | Mobile number.                                                 |
| result.response.personalDetails.officeStdCode            | String           | STD code for office number.                                    |
| result.response.personalDetails.kycDesignation           | String           | Designation of the KYC verifier.                               |
| result.response.personalDetails.motherMiddleName         | String           | Mother’s middle name.                                          |
| result.response.personalDetails.kycBranch                | String           | KYC branch name.                                               |
| result.response.personalDetails.officeTelephoneNumber    | String           | Office telephone number.                                       |
| result.response.personalDetails.kycEmpCode               | String           | Employee code of the KYC verifier.                             |
| result.response.personalDetails.pan                      | String           | PAN number.                                                    |
| result.response.personalDetails.maidenFirstName          | String           | Maiden first name.                                             |
| result.response.personalDetails.mobileCode               | String           | Mobile country code (e.g., 91).                                |
| result.response.personalDetails.maidenFullName           | String           | Full maiden name.                                              |
| result.response.personalDetails.maidenPrefix             | String           | Prefix of maiden name.                                         |
| result.response.personalDetails.kycName                  | String           | Name of person who performed KYC.                              |
| result.response.personalDetails.fatherSpouseFullName     | String           | Full name of father or spouse.                                 |
| result.response.personalDetails.firstName                | String           | First name.                                                    |
| result.response.personalDetails.formSixty                | String           | Form 60 submitted (Y/N or blank).                              |
| result.response.personalDetails.maidenMiddleName         | String           | Maiden middle name.                                            |
| result.response.personalDetails.motherFirstName          | String           | Mother’s first name.                                           |
| result.response.personalDetails.dob                      | String           | Date of birth (DD/MM/YYYY).                                    |
| result.response.personalDetails.residenceTelephoneNumber | String           | Residence telephone number.                                    |
| result.response.personalDetails.fatherSpouseFirstName    | String           | Father’s or spouse’s first name.                               |
| result.response.personalDetails.accountHolderType        | String           | Account holder type (e.g., 01 – Normal).                       |
| result.response.personalDetails.declarationPlace         | String           | Place of declaration.                                          |
| result.response.personalDetails.lastName                 | String           | Last name.                                                     |
| result.response.personalDetails.gender                   | String           | Gender (M/F/T).                                                |
| result.response.personalDetails.kycDate                  | String           | Date of KYC completion.                                        |
| result.response.personalDetails.fatherSpousePrefix       | String           | Prefix for father/spouse name.                                 |
| result.response.personalDetails.referenceId              | String           | Reference ID for the CKYC fetch.                               |
| result.response.personalDetails.numberOfRelatedPersons   | String           | Number of related persons.                                     |
| result.response.personalDetails.numberOfImages           | String           | Number of image records.                                       |
| result.response.personalDetails.residenceStdCode         | String           | STD code for residence phone.                                  |
| result.response.personalDetails.fatherSpouseMiddleName   | String           | Middle name of father/spouse.                                  |
| result.response.personalDetails.motherLastName           | String           | Mother’s last name.                                            |
| result.response.personalDetails.documentSubmitted        | String           | Type of documents submitted.                                   |
| result.response.personalDetails.motherFullName           | String           | Full name of mother.                                           |
| result.response.personalDetails.email                    | String           | Email address.                                                 |
| result.response.personalDetails.address                  | Object           | Address details (permanent and correspondence).                |
| result.response.personalDetails.address.permLine1        | String           | Permanent address line 1.                                      |
| result.response.personalDetails.address.permLine2        | String           | Permanent address line 2.                                      |
| result.response.personalDetails.address.permLine3        | String           | Permanent address line 3.                                      |
| result.response.personalDetails.address.permCity         | String           | Permanent city.                                                |
| result.response.personalDetails.address.permDistrict     | String           | Permanent district.                                            |
| result.response.personalDetails.address.permState        | String           | Permanent state.                                               |
| result.response.personalDetails.address.permCountry      | String           | Permanent country code.                                        |
| result.response.personalDetails.address.permPin          | String           | Permanent PIN code.                                            |
| result.response.personalDetails.address.permPoa          | String           | Proof of address for permanent address.                        |
| result.response.personalDetails.address.permCorresFlag   | String           | Whether permanent and correspondence addresses are same (Y/N). |
| result.response.personalDetails.address.corresLine1      | String           | Correspondence address line 1.                                 |
| result.response.personalDetails.address.corresLine2      | String           | Correspondence address line 2.                                 |
| result.response.personalDetails.address.corresLine3      | String           | Correspondence address line 3.                                 |
| result.response.personalDetails.address.corresCity       | String           | Correspondence city.                                           |
| result.response.personalDetails.address.corresDistrict   | String           | Correspondence district.                                       |
| result.response.personalDetails.address.corresState      | String           | Correspondence state.                                          |
| result.response.personalDetails.address.corresCountry    | String           | Correspondence country code.                                   |
| result.response.personalDetails.address.corresPin        | String           | Correspondence PIN code.                                       |
| result.response.personalDetails.address.corresPoa        | String           | Proof of address for correspondence address.                   |
| result.response.personalDetails.declarationDate          | String           | Declaration date.                                              |
| result.response.personalDetails.fullName                 | String           | Full name (prefix + first + middle + last).                    |
| result.response.personalDetails.ckycNumber               | String           | 14-digit CKYC number.                                          |
| result.response.personalDetails.fatherSpouseFlag         | String           | 01 – Father, 02 – Spouse.                                      |
| result.response.personalDetails.constitutionType         | String           | Constitution type (e.g., 01 – Individual).                     |
| result.response.personalDetails.numberOfIdentity         | String           | Number of identity documents.                                  |
| result.response.personalDetails.middleName               | String           | Middle name.                                                   |
| result.response.personalDetails.fatherSpouseLastName     | String           | Last name of father/spouse.                                    |
| result.response.personalDetails.maidenLastName           | String           | Maiden last name.                                              |
| result.response.personalDetails.remarks                  | String           | Any remarks associated with the record.                        |
| result.response.relatedPersonDetails                     | Array            | Array of related person details (empty in this case).          |
| result.response.identityDetails                          | Array of Objects | Array of identity details.                                     |
| result.response.identityDetails\[].sequenceNumber        | String           | Sequence number in the identity list.                          |
| result.response.identityDetails\[].idVerificationStatus  | String           | 01 – Verified, 02 – Not Verified.                              |
| result.response.identityDetails\[].identityType          | String           | Type of identity (e.g., E, D, F).                              |
| result.response.identityDetails\[].identityNumber        | String           | Identity number (e.g., PAN, DL, etc.).                         |



### Response body

:::CodeblockTabs
200

```json
//Sync response in the same API session
{
"result": {
"requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
"recordType": "INDIVIDUAL",
"status": "SUCCESS",
"response": {}
}
}

//Async response for Individual in callback URL
{
  "result": {
    "requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
    "recordType": "INDIVIDUAL",
    "status": "SUCCESS",
    "response": {
      "imageDetails": [
        {
          "branchCode": "HOBRANCH",
          "sequenceNo": "1",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "02",
          "imageType": "jpg"
        },
        {
          "branchCode": "HOBRANCH",
          "sequenceNo": "2",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "05",
          "imageType": "jpg"
        }
      ],
      "personalDetails": {
        "motherPrefix": "",
        "prefix": "Mr",
        "mobileNumber": "9811227788",
        "officeStdCode": "",
        "kycDesignation": "********",
        "motherMiddleName": "",
        "kycBranch": "********",
        "officeTelephoneNumber": "",
        "kycEmpCode": "********",
        "pan": "ASDPC1999S",
        "maidenFirstName": "",
        "mobileCode": "91",
        "maidenFullName": "",
        "maidenPrefix": "",
        "kycName": "********",
        "fatherSpouseFullName": "Mr Rajkumar D Verma",
        "firstName": "Akash",
        "formSixty": "",
        "maidenMiddleName": "",
        "motherFirstName": "",
        "dob": "02/09/1997",
        "residenceTelephoneNumber": "",
        "fatherSpouseFirstName": "Rajkumar",
        "accountHolderType": "01",
        "declarationPlace": "Delhi",
        "lastName": "Verma",
        "gender": "M",
        "kycDate": "********",
        "fatherSpousePrefix": "Mr",
        "referenceId": "INCJNB81160121",
        "numberOfRelatedPersons": "0",
        "numberOfImages": "2",
        "residenceStdCode": "",
        "fatherSpouseMiddleName": "D",
        "motherLastName": "",
        "documentSubmitted": "01",
        "motherFullName": "",
        "email": "asdfc@gmail.com",
        "address": {
          "permLine2": "Basant lok",
          "permDistrict": "North West Delhi",
          "permCorresFlag": "Y",
          "permLine3": "New Delhi",
          "permLine1": "4,Pivet Drive",
          "corresPoa": "02",
          "corresCity": "Delhi",
          "permPin": "110056",
          "corresCountry": "IN",
          "permState": "DL",
          "corresState": "DL",
          "corresPin": "110056",
          "permCountry": "IN",
          "corresLine1": "4,Pivet Drive",
          "permCity": "Delhi",
          "corresDistrict": "North West Delhi",
          "permPoa": "02",
          "corresLine3": "New Delhi",
          "corresLine2": "Basant lok"
        },
        "declarationDate": "01/09/2023",
        "fullName": "Mr Akash D Verma",
        "ckycNumber": "30039369538823",
        "fatherSpouseFlag": "01",
        "constitutionType": "01",
        "numberOfIdentity": "6",
        "middleName": "D",
        "fatherSpouseLastName": "Verma",
        "maidenLastName": "",
        "remarks": ""
      },
      "relatedPersonDetails": [],
      "identityDetails": [
        {
          "sequenceNumber": "1",
          "idVerificationStatus": "02",
          "identityType": "E",
          "identityNumber": "A876513"
        },
        {
          "sequenceNumber": "2",
          "idVerificationStatus": "02",
          "identityType": "",
          "identityNumber": "RB129891"
        },
        {
          "sequenceNumber": "3",
          "idVerificationStatus": "02",
          "identityType": "D",
          "identityNumber": "DL12398765"
        },
        {
          "sequenceNumber": "4",
          "idVerificationStatus": "02",
          "identityType": "",
          "identityNumber": "XXXXXXXX6622"
        },
        {
          "sequenceNumber": "5",
          "idVerificationStatus": "02",
          "identityType": "F",
          "identityNumber": "ABC1298"
        },
        {
          "sequenceNumber": "6",
          "idVerificationStatus": "02",
          "identityType": "G",
          "identityNumber": "12987123"
        }
      ]
    }
  }
}

//Async response for Business in callback URL
{
  "result": {
    "requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
    "recordType": "BUSINESS",
    "status": "SUCCESS",
    "response": {
      "imageDetails": [
        {
          "branchCode": "",
          "sequenceNo": "1",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "20",
          "imageType": "pdf"
        }
      ],
      "personalDetails": {
        "motherPrefix": "",
        "prefix": "",
        "mobileNumber": "",
        "officeStdCode": "",
        "kycDesignation": "********",
        "motherMiddleName": "",
        "kycBranch": "********",
        "officeTelephoneNumber": "",
        "kycEmpCode": "********",
        "pan": "KTCCK1239T",
        "maidenFirstName": "",
        "mobileCode": "",
        "maidenFullName": "",
        "maidenPrefix": "",
        "kycName": "********",
        "fatherSpouseFullName": "",
        "firstName": "",
        "formSixty": "",
        "maidenMiddleName": "",
        "motherFirstName": "",
        "dob": "06/01/1999",
        "residenceTelephoneNumber": "",
        "fatherSpouseFirstName": "",
        "accountHolderType": "",
        "declarationPlace": "Sanghera",
        "lastName": "",
        "gender": "",
        "kycDate": "********",
        "fatherSpousePrefix": "",
        "referenceId": "LEVWXI96290429",
        "numberOfRelatedPersons": "4",
        "numberOfImages": "2",
        "residenceStdCode": "",
        "fatherSpouseMiddleName": "",
        "motherLastName": "",
        "documentSubmitted": "01",
        "motherFullName": "",
        "email": "",
        "address": {
          "permLine2": "Addr2",
          "permDistrict": "Mumbai",
          "permCorresFlag": "N",
          "permLine3": "Addr3",
          "permLine1": "Jain nagar",
          "corresPoa": "",
          "corresCity": "Mumbai",
          "permPin": "400006",
          "corresCountry": "IN",
          "permState": "MH",
          "corresState": "MH",
          "corresPin": "400006",
          "permCountry": "IN",
          "corresLine1": "Corraddr1",
          "permCity": "Mumbai",
          "corresDistrict": "Mumbai",
          "permPoa": "06",
          "corresLine3": "Corraddr3",
          "corresLine2": "Corraddr2"
        },
        "declarationDate": "03/08/2023",
        "fullName": "Deo Lite PVT LIMITED",
        "ckycNumber": "70062719671298",
        "fatherSpouseFlag": "",
        "constitutionType": "D",
        "numberOfIdentity": "1",
        "middleName": "",
        "fatherSpouseLastName": "",
        "maidenLastName": "",
        "remarks": ""
      },
      "relatedPersonDetails": [
        {
          "lastName": "Somani",
          "motherPrefix": "",
          "gender": "M",
          "prefix": "Mr",
          "mobileNumber": "",
          "officeStdCode": "",
          "fatherSpousePrefix": "Mr",
          "motherMiddleName": "",
          "photoData": "/9j/XXX/2Q==",
          "sequenceNo": "1",
          "residenceStdCode": "",
          "officeTelephoneNumber": "",
          "fatherSpouseMiddleName": "",
          "motherLastName": "",
          "motherFullName": "",
          "pan": "BCDPE1234V",
          "maidenFirstName": "",
          "email": "",
          "permPoiData": "/9j/XXX/2Q==",
          "mobileCode": "",
          "address": {
            "permLine2": "",
            "permDistrict": "",
            "permCorresFlag": "",
            "permLine3": "",
            "permLine1": "",
            "corresPoa": "",
            "corresCity": "",
            "permPin": "",
            "corresCountry": "",
            "permState": "",
            "corresState": "",
            "corresPin": "",
            "permCountry": "",
            "corresLine1": "",
            "permCity": "",
            "corresDistrict": "",
            "permPoa": "",
            "corresLine3": "",
            "corresLine2": ""
          },
          "relationshipType": "12",
          "maidenFullName": "",
          "fullName": "",
          "maidenPrefix": "",
          "ckycNumber": "",
          "fatherSpouseFlag": "01",
          "addDelFlag": "1",
          "fatherSpouseFullName": "",
          "firstName": "Aditya",
          "formSixty": "",
          "corresPoiData": "",
          "maidenMiddleName": "",
          "motherFirstName": "",
          "dob": "28-07-1968",
          "residenceTelephoneNumber": "",
          "photoType": "jpg",
          "permPoiType": "JPG",
          "middleName": "",
          "fatherSpouseLastName": "Somani",
          "corresPoiImageType": "",
          "maidenLastName": "",
          "fatherSpouseFirstName": "Ishaan",
          "remarks": ""
        },
        {
          "lastName": "Somani",
          "motherPrefix": "",
          "gender": "F",
          "prefix": "Ms",
          "mobileNumber": "",
          "officeStdCode": "",
          "fatherSpousePrefix": "MR",
          "motherMiddleName": "",
          "photoData": "/9j/XXX/2Q==",
          "sequenceNo": "2",
          "residenceStdCode": "",
          "officeTelephoneNumber": "",
          "fatherSpouseMiddleName": "",
          "motherLastName": "",
          "motherFullName": "",
          "pan": "BACPY1234V",
          "maidenFirstName": "",
          "email": "",
          "permPoiData": "/9j/XXX/2Q==",
          "mobileCode": "",
          "address": {
            "permLine2": "",
            "permDistrict": "",
            "permCorresFlag": "",
            "permLine3": "",
            "permLine1": "",
            "corresPoa": "",
            "corresCity": "",
            "permPin": "",
            "corresCountry": "",
            "permState": "",
            "corresState": "",
            "corresPin": "",
            "permCountry": "",
            "corresLine1": "",
            "permCity": "",
            "corresDistrict": "",
            "permPoa": "",
            "corresLine3": "",
            "corresLine2": ""
          },
          "relationshipType": "12",
          "maidenFullName": "",
          "fullName": "",
          "maidenPrefix": "",
          "ckycNumber": "",
          "fatherSpouseFlag": "01",
          "addDelFlag": "1",
          "fatherSpouseFullName": "",
          "firstName": "Deepti",
          "formSixty": "",
          "corresPoiData": "",
          "maidenMiddleName": "",
          "motherFirstName": "",
          "dob": "10-01-1988",
          "residenceTelephoneNumber": "",
          "photoType": "jpg",
          "permPoiType": "JPG",
          "middleName": "",
          "fatherSpouseLastName": "Somani",
          "corresPoiImageType": "",
          "maidenLastName": "",
          "fatherSpouseFirstName": "Ishaan",
          "remarks": ""
        }
      ],
      "identityDetails": [
        {
          "sequenceNumber": "1",
          "idVerificationStatus": "",
          "identityType": "",
          "identityNumber": "U67190MH2000PTC124982"
        }
      ]
    }
  }
}

```

400

```json
// invalid ID type
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Invalid ID type. Valid values are: P, A, D, V, F, G, Z, I, R, PP, Y.",
        "status": "BAD_REQUEST"
    }
}

// invalid Auth Factor Type
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Invalid Auth Factor Type. Valid values are: 01, 02, 03.",
        "status": "BAD_REQUEST"
    }
}

// no record found
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "No record found",
        "status": "BAD_REQUEST"
    }
}

// invalid CKYC Reference ID
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Please enter valid CKYC Reference ID",
        "status": "BAD_REQUEST"
    }
}

// KYC number does not exist
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "KYC Number for this reference id  LEVWXI96290420 do not exists in system",
        "status": "BAD_REQUEST"
    }
}

// IP whitelisting issue
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "13.233.234.17 : IP is not registered on CKYCRR portal",
        "status": "BAD_REQUEST"
    }
}


```

403

```json
{
    "error": {
        "statusCode": 403,
        "name": "error",
        "message": "Please provide client certificates.",
        "status": "Certificates missing"
    }
}


```

404

```json
//No record found for given requestId
{
    "error": {
        "statusCode": 404,
        "name": "error",
        "message": "No Record Found, for the given ckyc and auth value combination.",
        "status": "NOT_FOUND"
    }
}


```

409

```json
// CKYC upstream is down
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Upstream is down",
        "status": "CONFLICT"
    }
}

// .pfx file error (file read issue)
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Error reading .pfx file: /usr/src/myapp/certs/UAT.pfx",
        "status": "CONFLICT"
    }
}

// incorrect PFX configuration (key read failure)
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Key could not be read for digital signature. Please check value of signature alias and signature password, and restart the Auth Client",
        "status": "CONFLICT"
    }
}

```
:::





## Fetch CKYC data by request ID API

The CKYC data fetch API by request ID provides a **synchronous&#x20;**&#x6D;ethod to retrieve KYC records from the Central KYC Registry (CERSAI) as an alternative to callback-based approaches. This API fetches data directly from SFTP in real-time and returns either the processed data or a "Pending" status based on CERSAI's processing state.

| **Parameter** | **Data Type** | **Description**                                       | **Required** |
| ------------- | ------------- | ----------------------------------------------------- | ------------ |
| task          | String        | "SEARCH\_FETCH"                                       | Mandatory    |
| env           | String        | "PREPRODUCTION", "PRODUCTION"                         | Mandatory    |
| requestId     | String        | requestID from the response of CKYC Fetch without API | Mandatory    |



**Fetch data by requestID API request curl (sync)**

```json
curl --location 'https://ckycupload-staging.signzy.app/ckyc/ckyc-search-sftp/ckyc-sftp/get--data' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer jwt' \
--data '{
    "task": "SEARCH_FETCH",
    "env": "PREPRODUCTION",
    "requestId": "f8343601-9b77-48f4-bc6d-5ea0380a6d0f"
}'
```

**Signup API response:**

:::CodeblockTabs
200

```json
//"Pending" status based on CERSAI's processing state.
{
"result": {
"requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
"recordType": "INDIVIDUAL",
"status": "PENDING",
"response": {}
}
}

//Sync response for Individual if data is processed
{
  "result": {
    "requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
    "recordType": "INDIVIDUAL",
    "status": "SUCCESS",
    "response": {
      "imageDetails": [
        {
          "branchCode": "HOBRANCH",
          "sequenceNo": "1",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "02",
          "imageType": "jpg"
        },
        {
          "branchCode": "HOBRANCH",
          "sequenceNo": "2",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "05",
          "imageType": "jpg"
        }
      ],
      "personalDetails": {
        "motherPrefix": "",
        "prefix": "Mr",
        "mobileNumber": "9811227788",
        "officeStdCode": "",
        "kycDesignation": "********",
        "motherMiddleName": "",
        "kycBranch": "********",
        "officeTelephoneNumber": "",
        "kycEmpCode": "********",
        "pan": "ASDPC1999S",
        "maidenFirstName": "",
        "mobileCode": "91",
        "maidenFullName": "",
        "maidenPrefix": "",
        "kycName": "********",
        "fatherSpouseFullName": "Mr Rajkumar D Verma",
        "firstName": "Akash",
        "formSixty": "",
        "maidenMiddleName": "",
        "motherFirstName": "",
        "dob": "02/09/1997",
        "residenceTelephoneNumber": "",
        "fatherSpouseFirstName": "Rajkumar",
        "accountHolderType": "01",
        "declarationPlace": "Delhi",
        "lastName": "Verma",
        "gender": "M",
        "kycDate": "********",
        "fatherSpousePrefix": "Mr",
        "referenceId": "INCJNB81160121",
        "numberOfRelatedPersons": "0",
        "numberOfImages": "2",
        "residenceStdCode": "",
        "fatherSpouseMiddleName": "D",
        "motherLastName": "",
        "documentSubmitted": "01",
        "motherFullName": "",
        "email": "asdfc@gmail.com",
        "address": {
          "permLine2": "Basant lok",
          "permDistrict": "North West Delhi",
          "permCorresFlag": "Y",
          "permLine3": "New Delhi",
          "permLine1": "4,Pivet Drive",
          "corresPoa": "02",
          "corresCity": "Delhi",
          "permPin": "110056",
          "corresCountry": "IN",
          "permState": "DL",
          "corresState": "DL",
          "corresPin": "110056",
          "permCountry": "IN",
          "corresLine1": "4,Pivet Drive",
          "permCity": "Delhi",
          "corresDistrict": "North West Delhi",
          "permPoa": "02",
          "corresLine3": "New Delhi",
          "corresLine2": "Basant lok"
        },
        "declarationDate": "01/09/2023",
        "fullName": "Mr Akash D Verma",
        "ckycNumber": "30039369538823",
        "fatherSpouseFlag": "01",
        "constitutionType": "01",
        "numberOfIdentity": "6",
        "middleName": "D",
        "fatherSpouseLastName": "Verma",
        "maidenLastName": "",
        "remarks": ""
      },
      "relatedPersonDetails": [],
      "identityDetails": [
        {
          "sequenceNumber": "1",
          "idVerificationStatus": "02",
          "identityType": "E",
          "identityNumber": "A876513"
        },
        {
          "sequenceNumber": "2",
          "idVerificationStatus": "02",
          "identityType": "",
          "identityNumber": "RB129891"
        },
        {
          "sequenceNumber": "3",
          "idVerificationStatus": "02",
          "identityType": "D",
          "identityNumber": "DL12398765"
        },
        {
          "sequenceNumber": "4",
          "idVerificationStatus": "02",
          "identityType": "",
          "identityNumber": "XXXXXXXX6622"
        },
        {
          "sequenceNumber": "5",
          "idVerificationStatus": "02",
          "identityType": "F",
          "identityNumber": "ABC1298"
        },
        {
          "sequenceNumber": "6",
          "idVerificationStatus": "02",
          "identityType": "G",
          "identityNumber": "12987123"
        }
      ]
    }
  }
}

//Sync response for Business if data is processed
{
  "result": {
    "requestId": "3c935a56-8177-4cf8-81ed-01fc7e6a63f9",
    "recordType": "BUSINESS",
    "status": "SUCCESS",
    "response": {
      "imageDetails": [
        {
          "branchCode": "",
          "sequenceNo": "1",
          "imageData": "/9j/XXX/2Q==",
          "globalFlag": "",
          "imageCode": "20",
          "imageType": "pdf"
        }
      ],
      "personalDetails": {
        "motherPrefix": "",
        "prefix": "",
        "mobileNumber": "",
        "officeStdCode": "",
        "kycDesignation": "********",
        "motherMiddleName": "",
        "kycBranch": "********",
        "officeTelephoneNumber": "",
        "kycEmpCode": "********",
        "pan": "KTCCK1239T",
        "maidenFirstName": "",
        "mobileCode": "",
        "maidenFullName": "",
        "maidenPrefix": "",
        "kycName": "********",
        "fatherSpouseFullName": "",
        "firstName": "",
        "formSixty": "",
        "maidenMiddleName": "",
        "motherFirstName": "",
        "dob": "06/01/1999",
        "residenceTelephoneNumber": "",
        "fatherSpouseFirstName": "",
        "accountHolderType": "",
        "declarationPlace": "Sanghera",
        "lastName": "",
        "gender": "",
        "kycDate": "********",
        "fatherSpousePrefix": "",
        "referenceId": "LEVWXI96290429",
        "numberOfRelatedPersons": "4",
        "numberOfImages": "2",
        "residenceStdCode": "",
        "fatherSpouseMiddleName": "",
        "motherLastName": "",
        "documentSubmitted": "01",
        "motherFullName": "",
        "email": "",
        "address": {
          "permLine2": "Addr2",
          "permDistrict": "Mumbai",
          "permCorresFlag": "N",
          "permLine3": "Addr3",
          "permLine1": "Jain nagar",
          "corresPoa": "",
          "corresCity": "Mumbai",
          "permPin": "400006",
          "corresCountry": "IN",
          "permState": "MH",
          "corresState": "MH",
          "corresPin": "400006",
          "permCountry": "IN",
          "corresLine1": "Corraddr1",
          "permCity": "Mumbai",
          "corresDistrict": "Mumbai",
          "permPoa": "06",
          "corresLine3": "Corraddr3",
          "corresLine2": "Corraddr2"
        },
        "declarationDate": "03/08/2023",
        "fullName": "Deo Lite PVT LIMITED",
        "ckycNumber": "70062719671298",
        "fatherSpouseFlag": "",
        "constitutionType": "D",
        "numberOfIdentity": "1",
        "middleName": "",
        "fatherSpouseLastName": "",
        "maidenLastName": "",
        "remarks": ""
      },
      "relatedPersonDetails": [
        {
          "lastName": "Somani",
          "motherPrefix": "",
          "gender": "M",
          "prefix": "Mr",
          "mobileNumber": "",
          "officeStdCode": "",
          "fatherSpousePrefix": "Mr",
          "motherMiddleName": "",
          "photoData": "/9j/XXX/2Q==",
          "sequenceNo": "1",
          "residenceStdCode": "",
          "officeTelephoneNumber": "",
          "fatherSpouseMiddleName": "",
          "motherLastName": "",
          "motherFullName": "",
          "pan": "BCDPE1234V",
          "maidenFirstName": "",
          "email": "",
          "permPoiData": "/9j/XXX/2Q==",
          "mobileCode": "",
          "address": {
            "permLine2": "",
            "permDistrict": "",
            "permCorresFlag": "",
            "permLine3": "",
            "permLine1": "",
            "corresPoa": "",
            "corresCity": "",
            "permPin": "",
            "corresCountry": "",
            "permState": "",
            "corresState": "",
            "corresPin": "",
            "permCountry": "",
            "corresLine1": "",
            "permCity": "",
            "corresDistrict": "",
            "permPoa": "",
            "corresLine3": "",
            "corresLine2": ""
          },
          "relationshipType": "12",
          "maidenFullName": "",
          "fullName": "",
          "maidenPrefix": "",
          "ckycNumber": "",
          "fatherSpouseFlag": "01",
          "addDelFlag": "1",
          "fatherSpouseFullName": "",
          "firstName": "Aditya",
          "formSixty": "",
          "corresPoiData": "",
          "maidenMiddleName": "",
          "motherFirstName": "",
          "dob": "28-07-1968",
          "residenceTelephoneNumber": "",
          "photoType": "jpg",
          "permPoiType": "JPG",
          "middleName": "",
          "fatherSpouseLastName": "Somani",
          "corresPoiImageType": "",
          "maidenLastName": "",
          "fatherSpouseFirstName": "Ishaan",
          "remarks": ""
        },
        {
          "lastName": "Somani",
          "motherPrefix": "",
          "gender": "F",
          "prefix": "Ms",
          "mobileNumber": "",
          "officeStdCode": "",
          "fatherSpousePrefix": "MR",
          "motherMiddleName": "",
          "photoData": "/9j/XXX/2Q==",
          "sequenceNo": "2",
          "residenceStdCode": "",
          "officeTelephoneNumber": "",
          "fatherSpouseMiddleName": "",
          "motherLastName": "",
          "motherFullName": "",
          "pan": "BACPY1234V",
          "maidenFirstName": "",
          "email": "",
          "permPoiData": "/9j/XXX/2Q==",
          "mobileCode": "",
          "address": {
            "permLine2": "",
            "permDistrict": "",
            "permCorresFlag": "",
            "permLine3": "",
            "permLine1": "",
            "corresPoa": "",
            "corresCity": "",
            "permPin": "",
            "corresCountry": "",
            "permState": "",
            "corresState": "",
            "corresPin": "",
            "permCountry": "",
            "corresLine1": "",
            "permCity": "",
            "corresDistrict": "",
            "permPoa": "",
            "corresLine3": "",
            "corresLine2": ""
          },
          "relationshipType": "12",
          "maidenFullName": "",
          "fullName": "",
          "maidenPrefix": "",
          "ckycNumber": "",
          "fatherSpouseFlag": "01",
          "addDelFlag": "1",
          "fatherSpouseFullName": "",
          "firstName": "Deepti",
          "formSixty": "",
          "corresPoiData": "",
          "maidenMiddleName": "",
          "motherFirstName": "",
          "dob": "10-01-1988",
          "residenceTelephoneNumber": "",
          "photoType": "jpg",
          "permPoiType": "JPG",
          "middleName": "",
          "fatherSpouseLastName": "Somani",
          "corresPoiImageType": "",
          "maidenLastName": "",
          "fatherSpouseFirstName": "Ishaan",
          "remarks": ""
        }
      ],
      "identityDetails": [
        {
          "sequenceNumber": "1",
          "idVerificationStatus": "",
          "identityType": "",
          "identityNumber": "U67190MH2000PTC124982"
        }
      ]
    }
  }
}

```

400

```json
// invalid ID type
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Invalid ID type. Valid values are: P, A, D, V, F, G, Z, I, R, PP, Y.",
        "status": "BAD_REQUEST"
    }
}

// invalid Auth Factor Type
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Invalid Auth Factor Type. Valid values are: 01, 02, 03.",
        "status": "BAD_REQUEST"
    }
}

// no record found
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "No record found",
        "status": "BAD_REQUEST"
    }
}

// invalid CKYC Reference ID
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "Please enter valid CKYC Reference ID",
        "status": "BAD_REQUEST"
    }
}

// KYC number does not exist
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "KYC Number for this reference id  LEVWXI96290420 do not exists in system",
        "status": "BAD_REQUEST"
    }
}

// IP whitelisting issue
{
    "error": {
        "statusCode": 400,
        "name": "error",
        "message": "13.233.234.17 : IP is not registered on CKYCRR portal",
        "status": "BAD_REQUEST"
    }
}


```

403

```json
{
    "error": {
        "statusCode": 403,
        "name": "error",
        "message": "Please provide client certificates.",
        "status": "Certificates missing"
    }
}


```

404

```json
//No record found for given requestId
{
    "error": {
        "statusCode": 404,
        "name": "error",
        "message": "No Record Found, for the given ckyc and auth value combination.",
        "status": "NOT_FOUND"
    }
}


```

409

```json
// CKYC upstream is down
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Upstream is down",
        "status": "CONFLICT"
    }
}

// .pfx file error (file read issue)
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Error reading .pfx file: /usr/src/myapp/certs/UAT.pfx",
        "status": "CONFLICT"
    }
}

// incorrect PFX configuration (key read failure)
{
    "error": {
        "statusCode": 409,
        "name": "error",
        "message": "Key could not be read for digital signature. Please check value of signature alias and signature password, and restart the Auth Client",
        "status": "CONFLICT"
    }
}

```
:::

```json
{
    "result": {
        "success": true,
        "message": "New user created"
    }
}

```



****

### Supporting ID Type

| **idType** | **idNumber**                                                                                                                                                                                                                                          |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A          | Format: “Last 4 digits in Aadhaar Number\|FirstName\|Lastname\|DOB\|Gender”.<br />Name cannot be more than 150 characters.<br />Date Of Birth  in format DD-MM-YYYY.<br />Gender can be M or F or T<br />Example: “0000\|Ayush\|Kumar\|23-02-1990\|M” |
| P          | Pan Number                                                                                                                                                                                                                                            |
| D          | Driving License                                                                                                                                                                                                                                       |
| V          | Voter ID                                                                                                                                                                                                                                              |
| F          | NREGA Job Card                                                                                                                                                                                                                                        |
| G          | National Population Register Letter                                                                                                                                                                                                                   |
| Z          | CKYC Identifier                                                                                                                                                                                                                                       |
| I          | Certificate of Incorporation/Formation                                                                                                                                                                                                                |
| R          | Registration Certificate                                                                                                                                                                                                                              |
| PP         | Passport Number                                                                                                                                                                                                                                       |



# CKYC Image Codes Description

### Image Code Description

| Image Code | Description                                                                                                                                                                                                                                                                                                                              |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 02         | Photograph                                                                                                                                                                                                                                                                                                                               |
| 03         | PAN                                                                                                                                                                                                                                                                                                                                      |
| 04         | Proof of Possession of Aadhaar                                                                                                                                                                                                                                                                                                           |
| 05         | Passport                                                                                                                                                                                                                                                                                                                                 |
| 06         | Driving License                                                                                                                                                                                                                                                                                                                          |
| 07         | Voters Identity Card                                                                                                                                                                                                                                                                                                                     |
| 08         | NREGA Job Card                                                                                                                                                                                                                                                                                                                           |
| 09         | Signature                                                                                                                                                                                                                                                                                                                                |
| 10         | Simplified Measures Account - Identity card with applicant’s photograph issued by Central/ State Government Departments, Statutory/ Regulatory Authorities, Public Sector Undertakings, Scheduled Commercial Banks, and Public Financial Institutions.                                                                                   |
| 11         | Simplified Measures Account - Letter issued by a gazetted officer, with a duly attested photograph of the person.                                                                                                                                                                                                                        |
| 12         | Utility bill which is not more than two months old of any service provider (electricity, telephone, post-paid mobile phone, piped gas, water bill).                                                                                                                                                                                      |
| 13         | Property or Municipal Tax receipt.                                                                                                                                                                                                                                                                                                       |
| 14         | Bank account or Post Office savings bank account statement.                                                                                                                                                                                                                                                                              |
| 15         | Pension or family pension payment orders (PPOs) issued to retired employees by Government Departments or Public Sector Undertakings, if they contain the address.                                                                                                                                                                        |
| 16         | Letter of allotment of accommodation from employer issued by State or Central Government departments, statutory or regulatory bodies, public sector undertakings, scheduled commercial banks, financial institutions and listed companies. Similarly, leave and license agreements with such employers allotting official accommodation. |
| 17         | Documents issued by Government departments of foreign jurisdictions and letter issued by Foreign Embassy or Mission in India.                                                                                                                                                                                                            |
| 18         | Officially valid document(s) in respect of person authorized to transact                                                                                                                                                                                                                                                                 |
| 19         | Certificate of Incorporation/Formation                                                                                                                                                                                                                                                                                                   |
| 20         | Registration Certificate                                                                                                                                                                                                                                                                                                                 |
| 21         | Memorandum and Articles of Association                                                                                                                                                                                                                                                                                                   |
| 22         | Partnership Deed                                                                                                                                                                                                                                                                                                                         |
| 23         | Trust Deed                                                                                                                                                                                                                                                                                                                               |
| 24         | Resolution of Board/ Managing Committee                                                                                                                                                                                                                                                                                                  |
| 25         | Power of Attorney granted to its manager, officers or employees to transact on its behalf.                                                                                                                                                                                                                                               |
| 26         | Activity Proof – 1 (For Sole Proprietorship only)                                                                                                                                                                                                                                                                                        |
| 27         | Activity Proof – 2 (For Sole Proprietorship only)                                                                                                                                                                                                                                                                                        |
| 35         | National Population Registry Letter                                                                                                                                                                                                                                                                                                      |
| 36         | E-KYC Authentication                                                                                                                                                                                                                                                                                                                     |
| 37         | Offline verification of Aadhaar                                                                                                                                                                                                                                                                                                          |
| 98         | Other                                                                                                                                                                                                                                                                                                                                    |



**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
