Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://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 Madhya Pradesh for which tehsil list is required. Case insensitive. |
{
"district": "sehore"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.district | String | Name of the district that was queried |
| data.tehsil_list | Array of Strings | List of all tehsils within the specified district |
| status_code | Integer | HTTP status code indicating the result of the request |
| success | Boolean | Indicates whether the request was successful |
| message | String | Human-readable message describing the result |
| message_code | String | Machine-readable code representing the result |
{
"data": {
"district": "sehore",
"tehsil_list": [
"ashta",
"bhairunda",
"budhni",
"doraha",
"ichhawar",
"jawar",
"rehti",
"sehore",
"sehore nagar",
"shyampur"
]
},
"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/madhya-pradesh/meta/tehsil-list' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"district": "sehore"
}'{
"data": {
"district": "sehore",
"tehsil_list": [
"ashta",
"bhairunda",
"budhni",
"doraha",
"ichhawar",
"jawar",
"rehti",
"sehore",
"sehore nagar",
"shyampur"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}