hcaptcha object for multiple captchas

I have setup hcaptcha to use in login process, after setting hcaptcha we get hcaptcha object on which we can call hcaptcha.getresponse to get the token for the solved captcha. However when I attach second hcaptcha div element on single page I get empty hcaptcha.getResponse() token

I can attach call back in the hcaptcha element for the second captcha and store the token response in the variable or cookie, however I wanted to use hcaptcha object as with first hcatcha element in the page, is there a way to do this

https://www.hcaptcha.com/