Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app⚠️ Important: Never share your JWT token or commit it to source control. Use environment variables to manage tokens securely across environments.
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token for authentication. Format: Bearer <JWT_TOKEN> |
Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
district | string | Yes | The name of the Karnataka district for which the taluka list is requested. Must be provided in lowercase (e.g., "belagavi"). |
{
"district": "belagavi"
}| Parameter | Type | Description |
|---|---|---|
data | object | The main data payload containing district information and the taluka list. |
data.district | string | The district name as provided in the request. |
data.taluka_list | array of strings | A list of all talukas within the specified district. Each entry is a lowercase string representing a taluka name. |
status_code | integer | HTTP-equivalent status code indicating the result of the API call (e.g., 200 for success). |
message_code | string | A machine-readable code summarizing the response outcome (e.g., "success"). |
message | string | A human-readable message describing the response outcome (e.g., "Success"). |
success | boolean | Indicates whether the request was processed successfully. true for a successful response, false otherwise. |
{
"data": {
"district": "belagavi",
"taluka_list": [
"chikkodi",
"athani",
"raibag",
"gokak",
"hukkeri",
"belagavi",
"khanapur",
"savadatti",
"bailhongal",
"ramadurg",
"kittura",
"nippani",
"kagavada",
"mudalagi",
"yaragatti"
]
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"data": null,
"status_code": 401,
"message_code": "unauthorized",
"message": "Authentication credentials were not provided or are invalid.",
"success": false
}Authorization header is missing, the JWT token is malformed, or the token has expired. Ensure you are using a valid Bearer token for the correct environment (sandbox or production)..env files or secrets managers (e.g., AWS Secrets Manager, HashiCorp Vault) to inject tokens at runtime.district value, convert it to lowercase and trim whitespace to avoid unnecessary errors.taluka_list in alphabetical order to make scanning easier for end users.curl --location --request POST 'https://kyc-api.surepass.app/api/v1/land-verification/karnataka/taluka-list' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"district": "belagavi"
}'{
"data": {
"district": "belagavi",
"taluka_list": [
"chikkodi",
"athani",
"raibag",
"gokak",
"hukkeri",
"belagavi",
"khanapur",
"savadatti",
"bailhongal",
"ramadurg",
"kittura",
"nippani",
"kagavada",
"mudalagi",
"yaragatti"
]
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}