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| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication (format: Bearer YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| state_name | string | Yes | Name of the Indian state where the BHMS doctor is registered (e.g., "chhattisgarh", "maharashtra"). Use lowercase format. |
| id_number | string | Yes | Registration number of the BHMS doctor as issued by the state homeopathy council. Format and length vary by state. |
{
"state_name": "chhattisgarh",
"id_number": "0002"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object for the verification response |
| data.client_id | string | Unique identifier for this verification request |
| data.id_number | string | The registration number that was verified |
| data.state_name | string | The state name used for verification |
| data.results | object | Object containing the verified doctor's details |
| data.results.full_name | string | Complete name of the BHMS doctor including title and parent name |
| data.results.registration_date | string | Date when the doctor was registered (format: YYYY-MM-DD) |
| data.results.parent_name | string | Name of the doctor's parent/guardian |
| data.results.gender | string | Gender of the doctor |
| data.results.dob | string | Date of birth of the doctor |
| data.results.birth_place | string | Place of birth of the doctor |
| data.results.qualification | string | Academic qualifications of the doctor |
| data.results.degree | string | BHMS degree details including year, month, and issuing council |
| data.results.college_name | string | Name of the institution where the degree was obtained |
| data.results.address | string | Registered address of the doctor |
| data.results.place_of_practice | string | Location where the doctor practices |
| data.results.renewal_upto | string | Date until which the registration is renewed |
| data.results.valid_from | string | Start date of registration validity |
| data.results.valid_upto | string | End date of registration validity |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the verification was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the result status |
{
"data": {
"client_id": "bhms_doctor_verification_kAiqMEiRuoEkptTgHvov",
"id_number": "0002",
"state_name": "chhattisgarh",
"results": {
"full_name": "Dr. Asir Sam Daniel S/o - A.M. Daniel",
"registration_date": "2003-02-14",
"parent_name": "",
"gender": null,
"dob": null,
"birth_place": null,
"qualification": null,
"degree": "D H M S Aug 1987 State Council of Homoeopathy, Madhyaprdesh (Bhopal)",
"college_name": null,
"address": null,
"place_of_practice": null,
"renewal_upto": null,
"valid_from": null,
"valid_upto": null
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Unauthorized access. Invalid or expired token.",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/doctor/bhms/verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"state_name": "chhattisgarh",
"id_number": "0002"
}'{
"data": {
"client_id": "bhms_doctor_verification_kAiqMEiRuoEkptTgHvov",
"id_number": "0002",
"state_name": "chhattisgarh",
"results": {
"full_name": "Dr. Asir Sam Daniel S/o - A.M. Daniel",
"registration_date": "2003-02-14",
"parent_name": "",
"gender": null,
"dob": null,
"birth_place": null,
"qualification": null,
"degree": "D H M S Aug 1987 State Council of Homoeopathy, Madhyaprdesh (Bhopal)",
"college_name": null,
"address": null,
"place_of_practice": null,
"renewal_upto": null,
"valid_from": null,
"valid_upto": null
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}