One Signal Help

I am trying to integrate One Signal into my app for web push notifications. (I already have mobile down)

I have it set so the prompt works and notifications send from the one signal dash.

My problem is that me or ChatGPT cannot figure out how to get the subscription id and permission status back so I can save it to the db.