| Header | Type | Required | Description |
|---|---|---|---|
| myAppId | String | Yes | Application identifier used for API authentication |
| service-key | String | Yes | Service key provided to access the verification service |
| Authorization | String | Yes | API authentication credentials |
| Content-Type | String | Yes | Request content type (application/json) |
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentType | String | Yes | Type of verification (Advanced Forgery_S) |
| urls | Array | Yes | List of publicly accessible URLs containing document images to be analyzed |
| textfields | Object | No | Optional additional text fields that can be used for validation |
| threshold | Integer | No | Threshold score used to determine acceptable forgery risk levels |
| callBackUrl | String | No | Callback URL where the verification result will be sent asynchronously |
| Field | Description |
|---|---|
| trackingId | Unique identifier generated for the document verification request |
| imageUrl | URL of the document image that was analyzed |
| photocopyScore | Score indicating the likelihood that the image is a photocopy of an original document |
| webcheckScore | Score representing whether the image appears to be sourced from the internet |
| spliceForged | Indicates whether the document appears to be digitally spliced or manipulated |
| spliceScore | Confidence score representing the probability of image splicing or tampering |
curl --location --request POST 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v5_1_app' \
--header 'service-key: sk_test_a9944179bc598f06' \
--header 'Authorization: x-api-access indc_test_a41eaf2a175f3b13:ac_test_bf7117f6da6c6285' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "mutation {\r\n verify(\r\n input: {\r\n documentType: \"Advanced Forgery_S\"\r\n urls: [\"https://pg-all-js-assets.s3.ap-south-2.amazonaws.com/Updated_Adhaar_01.jpg\"]\r\n textfields: {\r\n field1: \"value\"\r\n }\r\n threshold: 20\r\n callBackUrl: \"https://uat.risewithprotean.io/api/v1/xx/callbackurl/xx\"\r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n __typename\r\n ... on AdvancedForgeryResult {\r\n trackingId\r\n imageResults {\r\n imageUrl\r\n photocopyScore\r\n webcheckScore\r\n spliceForged\r\n spliceScore\r\n }\r\n }\r\n }\r\n error {\r\n decryptedError\r\n }\r\n }\r\n}\r\n",
"variables": {}
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"result": {
"__typename": "AdvancedForgeryResult",
"trackingId": "c9ea824a-8b37-459f-8823-5252620e0d59",
"imageResults": [
{
"imageUrl": "https://pg-all-js-assets.s3.ap-south-2.amazonaws.com/Updated_Adhaar_01.jpg",
"photocopyScore": 9.36,
"webcheckScore": 0,
"spliceForged": "No",
"spliceScore": 8
}
]
},
"error": null
}
}
}