Metabase integration using api

We want deep integration of metabase into our system. We want in such a way that we should be able to call any api of metabase from our system and pass a native query and then a question will be created and save on metabase dashboard according to the query. In return, metabase will give the IFrame url as a reply to the system. And we can use the url to render question or dashboard on our page.

Maybe https://github.com/metabase/metabase/wiki/Using-the-REST-API is what you’re looking for?