Trying to get Grafana panel data

I am trying to get panel data from Gragana dashboard using below curl command
curl:
curl -X POST -H “Authorization: Bearer aabbccdd” -H “Content-Type: application/json” -d ‘{
“panelId”: 60,
“from”: “2024-04-02 17:21:22”,
“to”: “2024-04-02 17:51:22”,
“format”: “json”
}’ https://host:port/api/dashboards/uid/mY9p7dQmz/render

I am getting response {“message”:“Not found”}
My API to get the dashboard by giving UID is working fine , but above curl is keep on giving not found,

Please suggest some solution how to fix my problem or there is any alternat way to get panel data.