| 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 |
|---|---|---|
epicNo | String | Unique EPIC number printed on the Voter ID card |
documentType | String | Specifies the verification type (Voter ID Verification) |
| Field | Description |
|---|---|
ok | Indicates whether the verification was successful (true / false) |
message | Status message describing the verification result |
result.name | Name of the voter associated with the EPIC number |
result.state | State where the voter is registered |
result.district | District where the voter is registered |
error | Contains error details if verification fails |
curl --location --request POST 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification' \
--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 epicNo: \"TWJ5246251\"\r\n documentType: \"Voterid Verification\"\r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n ... on VoterIdResult {\r\n name\r\n state\r\n district\r\n \r\n }\r\n }\r\n error {\r\n status\r\n message\r\n decryptedError\r\n }\r\n }\r\n}",
"variables": {}
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"result": {
"name": "tushar patil",
"state": "Maharashtra",
"district": "Jalgaon"
},
"error": null
}
}
}