Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
district | String | Yes | Name of the district in Gujarat for which taluka list is required. Case insensitive. |
{
"district": "sabarkantha"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.district_name | String | Name of the district that was queried |
data.taluka_list | Array of Strings | List of all talukas within the specified district |
status_code | Integer | HTTP status code indicating the result of the operation |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable description of the response status |
message_code | String | Machine-readable code representing the response status |
{
"data": {
"district_name": "sabarkantha",
"taluka_list": [
"khedbrahma",
"vijaynagar",
"vadali",
"idar",
"himatnagar",
"prantij",
"talod",
"poshina"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"data": null,
"status_code": 400,
"success": false,
"message": "Invalid district name provided",
"message_code": "invalid_district"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/land-verification/gujarat/meta/taluka-list' \
--header 'Content-Type: application/json' \
--data-raw '{
"district": "sabarkantha"
}'
{
"data": {
"district_name": "sabarkantha",
"taluka_list": [
"khedbrahma",
"vijaynagar",
"vadali",
"idar",
"himatnagar",
"prantij",
"talod",
"poshina"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}