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 | Bearer token for authentication. Format: Bearer YOUR_JWT_TOKEN |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| mobile_number | String | Yes | The mobile number to check. Should be a valid Indian mobile number without country code or special characters. |
{
"mobile_number": "1231231231"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the mobile number information |
| data.client_id | String | Unique identifier for the client request |
| data.mobile_number | String | The mobile number that was checked |
| data.is_ported | String | Indicates if the number has been ported ("Yes" or "No") |
| data.mobile_age | String | Duration the mobile number has been active (e.g., "5 to 6 Years") |
| data.number_active | String | Indicates if the number is currently active ("Yes" or "No") |
| data.ported_region | String | Region to which the number was ported (if applicable) |
| data.ported_telecom | String | Telecom operator to which the number was ported (if applicable) |
| data.region | String | The region where the mobile number is registered |
| data.roaming | String | Indicates if the number is in roaming ("Yes" or "No") |
| data.telecom | String | Current telecom operator of the number |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the API call was successful |
| message | String | Response message |
| message_code | String | Code representing the response message |
{
"data": {
"client_id": "mobile_age_vehrjYNewCoRiOqngvov",
"mobile_number": "7827212345",
"is_ported": "No",
"mobile_age": "5 to 6 Years",
"number_active": "Yes",
"ported_region": "",
"ported_telecom": "",
"region": " Delhi",
"roaming": "No",
"telecom": "Reliance Jio "
},
"status_code": 200,
"success": true,
"message": "success",
"message_code": "success"
}{
"status_code": 422,
"success": false,
"message": "Invalid mobile number format",
"message_code": "invalid_input"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/mobile-vintage/mobile-age' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobile_number": "1231231231"
}'{
"data": {
"client_id": "mobile_age_vehrjYNewCoRiOqngvov",
"mobile_number": "7827212345",
"is_ported": "No",
"mobile_age": "5 to 6 Years",
"number_active": "Yes",
"ported_region": "",
"ported_telecom": "",
"region": " Delhi",
"roaming": "No",
"telecom": "Reliance Jio "
},
"status_code": 200,
"success": true,
"message": "success",
"message_code": "success"
}