GRAFANA IDs and UID for HTTP API

Does anybody know how I can access the IDs and UIDs for my Grafana Dashboards? I am using the local downloaded version of grafana but am unsure how to access this ID data as I am trying to post annotations to the HTTP API but have no idea as to where I can access this data.