| 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 |
|---|---|---|
address | String | Unstructured address to be parsed and split into components |
documentType | String | Specifies the verification type (address split) |
| Field | Description |
|---|---|
ok | Indicates whether the request was successful (true / false) |
message | Status message describing the result |
result.building | Name of the building or apartment |
result.floor | Floor number extracted from the address |
result.house | House or flat number |
result.street | Street or road name |
result.locality | Locality or area name |
result.landmark | Nearby landmark information |
result.pin | Postal PIN code |
error | Contains error details if the request fails |
curl --location --request POST 'https://api.staging.indiconnect.in/idverifygr/verification' \
--header 'myAppId: verification_v3_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: \"address split\"\r\n address: \"Sunil apt, first floor, Flat C-19/04, Marathe Mill Road, Kamal Nagar, Near Pujari Hospital, Pune, 400254\"\r\n }\r\n ) {\r\n ok\r\n message\r\n result {\r\n __typename\r\n ... on AddressSplitResult {\r\n building\r\n floor\r\n house\r\n street\r\n locality\r\n landmark\r\n pin\r\n }\r\n }\r\n error {\r\n message\r\n }\r\n }\r\n}\r\n",
"variables": {}
}'{
"data": {
"verify": {
"ok": true,
"message": "Verification completed successfully",
"result": {
"__typename": "AddressSplitResult",
"building": "SUNIL APARTMENT",
"floor": "1",
"house": "FLAT C - 19 / 04",
"street": "MILL ROAD",
"locality": "KAMAL NAGAR",
"landmark": "NEAR PUJARI HOSPITAL",
"pin": 400254
},
"error": null
}
}
}