How to get gateway auth token

I am trying the https://dev.ndhm.gov.in/gateway/v0.5/users/auth/init api given here: https://sandbox.abdm.gov.in/swagger/ndhm-gateway.yaml

I am unable to figure out the Access token for the header. The documentation says: “Access token which was issued after successful login with gateway auth server” ;

How can i get the access token?

I have tried the https://dev.abdm.gov.in/gateway/v0.5/sessions API, but the access token from there doesn’t work.

Thanks

Hey @akash_heme,

Are you using the Bearer Token?
Please send the curl here.

Thanks