Call a REST API on login from grafana

Hi,
I want to call a REST API as soon as user logs into the page. But can’t find the file from where I can do so. Can this be done? I know how to call my REST service apis from a custom app plugin. Can this be done in the same way? Appreciate your help a lot.
Thanks

Hi,
Did you find the solution of this problem, I am also looking for it.