cowinapi / developer.cowin

This group is created to facilitate technical and integration discussions related to cowin platform. API related contents can be obtained at API setu portal https://apisetu.gov.in/public/marketplace/api/cowin
115 stars 30 forks source link

403 on requesting Public API ​/v3​/vaccination​/generateOTP #538

Open rvshah512 opened 3 years ago

rvshah512 commented 3 years ago

It seems the Public API page was updated today and the Vaccination Verification API's are not working. On requesting ​/v3​/vaccination​/generateOTP a response of 403 {message: Forbidden} is received.

dotnet22 commented 3 years ago

image

It now shows as Protectd. What change should we do? Any updates?

rvshah512 commented 3 years ago

@sukhdev22 Yes, they changed it to a protected API but it is still shown in the Public API page. I guess one needs to apply for getting access to the production API key just like the other Co-WIN protected APIs.

ankit8588 commented 3 years ago

@rvshah512 Yes you are right. But the emails to partner address is bouncing back. Looks like some issue, even the sample is no more sending the OTP despite success message.

Cowin Team - Kindly help.

ankit8588 commented 3 years ago

any update to anyone..

the apis are working using api key. Is there a way no procure and apply for api key. `i have dropped emails and reminders.

rvshah512 commented 3 years ago

@ankit8588 We have applied for ASP registration. No response yet.

ankit8588 commented 3 years ago

Thanks. As per the info on the main page. We just have to send an email to the given address.

Is there a form as well for the same?

rvshah512 commented 3 years ago

The said API's have been removed from the website.

ankit8588 commented 3 years ago

No, it has been moved to protected section now.

We need APIKey. Did you get an access to it? How much time do they take on average to approve the API key for protected API? Any idea.

rvshah512 commented 3 years ago

@ankit8588 It's been a while since we applied. Haven't received the key yet.

praveen-gm commented 2 years ago

How does one test this API on the sandbox server? there is an API key but there are no samples provided

ankit8588 commented 2 years ago

The curl commands are there and it is quite straightforward. Just code a rest call and it works like a charm in a Sandbox environment.

I am still waiting for the Production API Key.

Thanks,

On Thu, Oct 7, 2021 at 11:52 AM Praveen G @.***> wrote:

How does one test this API on the sandbox server? there is an API key but there are no samples provided

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cowinapi/developer.cowin/issues/538#issuecomment-937486481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVVR7BXDOJVCGKD7ZZ2EFT3UFU4DFANCNFSM5ECCVUWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

praveen-gm commented 2 years ago

Thanks for the reply,

{ "mobile_number": "9898989999", "full_name": "Kritika Pani" }

this is the sample provided on the site, but this doesn't work. i got response {"errorCode":"USRAUT0015", "error":"Your account does not exist"}

Are there any sample users that I can check the complete flow of authenticating and getting the vaccination status?

ankit8588 commented 2 years ago

This is an expected response and you will get a valid response once you pass on the actual credentials of the test environment. I do not have them but earlier even these credentials were working fine.

On Thu, Oct 7, 2021 at 7:18 PM Praveen G @.***> wrote:

Thanks for the reply,

{ "mobile_number": "9898989999", "full_name": "Kritika Pani" }

this is the sample provided on the site, but this doesn't work. i got response {"errorCode":"USRAUT0015", "error":"Your account does not exist"}

Are there any sample users that I can the complete flow of authenticating and getting the vaccination status?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cowinapi/developer.cowin/issues/538#issuecomment-937810442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVVR7BRALWRAJDIQF4JOPWLUFWQKBANCNFSM5ECCVUWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ankit8588 commented 2 years ago

Hey, anyone got the API key for production environment?

rvshah512 commented 2 years ago

@ankit8588 Not yet. What about you?

rahulkathet commented 2 years ago

@ankit8588 not yet