Same credentials for HPR apis?

Hi @IntegrationSupport
I am integrating HPR and HFR APIs but for production can I use the same production credentials that we got after M1, M2, and M3 Integration?
There is no mention of testing or mail to get so.

Hi @IntegrationSupport @Ramandeep24 @Areeb
Can you please provide the HPR and HFR roles to this client ID (SBX_001531) Sandbox and (MPT_001) for production?

@MustafizKaifee FYI - We do not provide HFR roles, you need to onboard facility for your facility registration and add services as HIU and HIP as per the given addupdate service api. As you are already in production HPR roles are already provided.

@IntegrationSupport
I am getting a 401 Unauthorized error. I am using the same production client ID and secret. Could you please help to resolve this?

curl --location ‘https://hprid.abdm.gov.in/api/v1/registration/aadhaar/generateOtp
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI0dUx2Wmp2T3V2c1E1Ry1sVkdydzVQYThWVG04V2dKV3YwZVJXM1pYVmpnIn0.eyJleHAiOjE3MDMyMDIzMjEsImlhdCI6MTcwMzE4MDcyMSwianRpIjoiN2Q2YjJkNDItNDVkNC00MjJlLTg4NGItZTlkM2Y3ODBmOThjIiwiaXNzIjoiaHR0cHM6Ly9saXZlLm5kaG0uZ292LmluL2F1dGgvcmVhbG1zL2dhdGV3YXkiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYjU2ZDAwODctYTg4NS00Y2IwLTllNzItZGVkZjdiNmY4OGVlIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiTVBUXzAwMSIsInNlc3Npb25fc3RhdGUiOiJlODUwNGM1Ni0yNDAxLTQ0M2UtYjdkNS1kMDI3OGRjZDQ5M2EiLCJhY3IiOiIxIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0dHA6Ly9sb2NhbGhvc3Q6OTAwNyJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiaGl1Iiwib2ZmbGluZV9hY2Nlc3MiLCJoZWFsdGhJZCIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7Ik1QVF8wMDEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjcyLjE3MiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SWQiOiJNUFRfMDAxIiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LW1wdF8wMDEiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjcyLjE3MiJ9.n5Zno9U5KFzuABFllb8_QVkSZJl-piTdcsaPDTCOTYWFbU2Mxw3AyFUjQ6Rkd28n4uMp9242BjdvfnST4vLIE-4K2kgRZJCQtivWbKdhEBRyXorO1scwOpSO-fRZO8iJ6suBdDdnMnY4L3XnMil7Y8aCbpDkJCG1jSnQne-RndM8kKxgOaHwwhBOOFyMgYQSoRgmmO2IYJa6bDveMYqkdnTC7t7PDE265OY6vf9DCU6gQBiXweUy6ZBfQWrKD9-PMIrCmkpkDbeG2EFX2MRQFH9IoBg-0XJVsA07TP8jSdebBUDZUNGXl2IzRqO6-ig2OcogVv2qWZ_8RRWOV6vs1w’
–data ‘{
“aadhaar”: “xxxx-xxxx-xxxx”
}’

@MustafizKaifee Kindly email your production client ID and secret over integration.support@nha.gov.in. As this is a open forum, this is not private forum to share your credentials here.

Sure sending you now.