Automatically generate urls for embedding graphs

I am working on a web app that needs to automatically get the embedded urls from a dashboard and then embed them in a webapp. Is there a officially supported way to do this?