Feel free to reach techsupport@surepass.io for any technical support or guidance.
GET /api/v1/land-verification/karnataka/district-listGET /api/v1/land-verification/district-listBoth paths are valid and return identical responses. Use either interchangeably based on your integration preference.
Authorization header as Bearer <YOUR_JWT_TOKEN>.https://sandbox.surepass.apphttps://kyc-api.surepass.app⚠️ Never expose your JWT token in client-side code or public repositories. Rotate tokens periodically and immediately if a token is suspected to be compromised.
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token in the format Bearer <YOUR_JWT_TOKEN> |
Content-Type | No | Not required for this GET endpoint; omit or set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| (none) | — | — | No request body parameters are required for this endpoint. |
{}| Parameter | Type | Description |
|---|---|---|
data | array of strings | Ordered list of all Karnataka district names in lowercase. Each string represents one official district. |
status_code | integer | HTTP-equivalent status code returned by the API (e.g., 200 for success). |
message_code | string | Machine-readable status identifier (e.g., "success"). Use this for programmatic response handling. |
message | string | Human-readable status message (e.g., "Success"). Suitable for logging or display. |
success | boolean | Top-level flag indicating whether the request was fulfilled successfully. true on success, false on failure. |
{
"data": [
"belagavi",
"bagalkote",
"vijayapura",
"kalaburagi",
"bidar",
"raichur",
"koppal",
"gadag",
"dharwad",
"uttar kannada",
"haveri",
"ballari",
"chitradurga",
"davanagere",
"shivamogga",
"udupi",
"chikkamagaluru",
"tumakuru",
"kolar",
"bengaluru",
"bangalore rural",
"mandya",
"hassan",
"dakshina kannada",
"kodagu",
"mysore",
"chamarajanagara",
"chikkaballapur",
"bengaluru south",
"ramanagara",
"yadagir",
"vijayanagara"
],
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"data": null,
"status_code": 401,
"message_code": "unauthorized",
"message": "Unauthorized. Invalid or missing Bearer token.",
"success": false
}Authorization header is missing, the JWT token is malformed, or the token has expired. Ensure you are using a valid token for the correct environment (sandbox vs. production).401 responses gracefully by triggering a re-authentication flow.data are already lowercase."uttar kannada", "bangalore rural"). Ensure your UI and validation logic accommodate multi-word strings.curl --location --request GET 'https://kyc-api.surepass.app/api/v1/land-verification/district-list' \
--header 'Authorization: Bearer <token>'{
"data": [
"belagavi",
"bagalkote",
"vijayapura",
"kalaburagi",
"bidar",
"raichur",
"koppal",
"gadag",
"dharwad",
"uttar kannada",
"haveri",
"ballari",
"chitradurga",
"davanagere",
"shivamogga",
"udupi",
"chikkamagaluru",
"tumakuru",
"kolar",
"bengaluru",
"bangalore rural",
"mandya",
"hassan",
"dakshina kannada",
"kodagu",
"mysore",
"chamarajanagara",
"chikkaballapur",
"bengaluru south",
"ramanagara",
"yadagir",
"vijayanagara"
],
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}