I need help in domain monitoring of a URL , basically my requirement is toh pass the url to a script and then the grafana API should add the panel to the existing dashboard

I need help in domain monitoring of a URL , basically my requirement is to just pass the url to a script and then the grafana API should add the panel to the existing dashboard.

I have seen some post related to the topic but none of them consist the sample code or sample request to do so .