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

Getting 'beneficiary_reference_id' for Public API <> Downloading the certificate #534

Open bkpdada opened 2 years ago

bkpdada commented 2 years ago

I am trying to build an application on Public APIs. I have completed OTP verification and got the token. But to generate a Certificate, it's also asking for 'beneficiary_reference_id'. Where can I get this?

Or, is there any other way to download the certificate?

deepaktammali commented 2 years ago

beneficiary_reference_id is in the payload of the received JWT token.

archita-desai commented 2 years ago

beneficiary_reference_id you can find by going to Cowin website.

rahulkathet commented 2 years ago

What if there are multiple beneficiary under the same phone number? We are getting the last beneficiary_reference_id

gyadav4 commented 2 years ago

Anyone knows how to get details with 'beneficiary_reference_id', if mobile number is not known