| Header | Description |
|---|---|
myAppId | Application identifier used for service authentication |
service-key | Unique service key provided for accessing the verification service |
Authorization | API authorization credentials for secure access |
Content-Type | Specifies the request payload format (application/json) |
| Parameter | Type | Description |
|---|---|---|
url | String | URL of the document image (PAN, Aadhaar, DL, Passport, etc.) |
caseId | String | Unique identifier for tracking the request |
documentType | String | Specifies the verification type (KYC OCR) |
| Field | Description |
|---|---|
ok | Indicates whether the request was successful (true / false) |
message | Status message describing the result |
result.request_id | Unique request identifier generated by the system |
result.status_code | Status code indicating processing result |
result.documents[].document_type | Type of document detected (PAN, Aadhaar, DL, etc.) |
result.documents[].ocr_data | Extracted fields from the document along with confidence scores |
result.documents[].ocr_data.*.value | Extracted value for a specific field |
result.documents[].ocr_data.*.confidence | Confidence score of the extracted value |
result.documents[].additional_details.faceDetected | Indicates if a face was detected in the document |
result.documents[].additional_details.addressSplit | Structured breakdown of extracted address fields |
error | Contains error details if the request fails |
curl --location 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v3_app' \
--header 'service-key: sk_test_bf78b31a4b9275ca' \
--header 'Authorization: x-api-access indc_test_8cdbb53b09f50c3c:ac_test_bd6e115254f11a58' \
--header 'providercode: LLOK77FI' \
--header 'Content-Type: application/json' \
--data '{"query":"mutation {\r\n verify(\r\n input: {\r\n documentType: \"KYC OCR Plus\"\r\n url: \"https://pg-all-js-assets.s3.ap-south-2.amazonaws.com/Driving_lic01.jpg\"\r\n caseId: \"DL-GQL-001\"\r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n __typename\r\n ... on KYCOCRResult {\r\n request_id\r\n status_code\r\n documents {\r\n document_type\r\n ocr_data\r\n additional_details\r\n }\r\n }\r\n }\r\n error {\r\n status\r\n message\r\n decryptedError\r\n }\r\n }\r\n}\r\n","variables":{}}'