Below Swagger document we used and integrated the API’s of ABHA Number creation
https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0
Please find the errors in the API are below with detailed error.
API - v2/registration/aadhaar/email/verification/verify/otp
{
“timestamp”: “2023-05-11T07:14:08.403+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v2/registration/aadhaar/email/verification/verify/otp”
}
API - v1/registration/aadhaar/createHealthIdWithPreVerified
{
“timestamp”: “2023-05-11T07:16:04.364+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v1/registration/aadhaar/createHealthIdWithPreVerified”
}
API v2/registration/aadhaar/createHealthIdByAdhaar
{
“timestamp”: “2023-05-11T07:16:35.444+0000”,
“status”: 401,
“error”: “Unauthorized”,
“message”: “Unauthorized”,
“path”: “/api/v2/registration/aadhaar/createHealthIdByAdhaar”
}
In SandBox documentation we found another API Documentation with different domain name. We are bit confused which swagger documentation to follow
https://hpridsbx.abdm.gov.in/api/swagger-ui/index.html