title: PowerBi Api - How to get GroupId and DatasetId of Dashboard via API
body: <p>I have been reading <a href="https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/" rel="nofollow noreferrer">https://powerbi.microsoft.com/en-us/blog/announcing-data-refresh-apis-in-the-power-bi-service/</a></p>
  
  <p>In this post, it mentions "To get the group ID and dataset ID, you can make a separate API call".</p>
  
  <p>Does anybody know how to do this from the dashboard URL, or do I have to embed the group id and dataset id in my app alongside the dashboard URL???</p>