# How to export dashboard via API for external use?

**URL:** <https://community.grafana.com/t/how-to-export-dashboard-via-api-for-external-use/27886>\
**Category:** Grafana\
**Tags:** api\
**Created:** [March 30, 2020, 2:13pm UTC](https://community.grafana.com/t/how-to-export-dashboard-via-api-for-external-use/27886 "2020-03-30T14:13:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benhub](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@benhub](https://community.grafana.com/u/benhub)\
**Post date:** [March 30, 2020, 2:13pm UTC](https://community.grafana.com/t/how-to-export-dashboard-via-api-for-external-use/27886/1 "2020-03-30T14:13:02Z")

</div>

Hi!

When sharing a dashboard, you can choose to export it for sharing externally:  
 ![20200330_161011](https://us1.discourse-cdn.com/grafana/original/2X/7/7ff77956d934b89cd0012d2300bd93827c85c0b1.png)

**Is it possible to get the exact same JSON over the API?**

At the moment I use `https://<my.grafana.instance>/api/dashboards/uid/<dashboard-uid>`, but this contains all the instance-specific configurations such as data sources.
