Hi Varun,
It sounds to me like you want a WOPI solution. Here is an article that discusses this solution:
Using the WOPI protocol to integrate with Office Online
You can also see examples of implementations on github like this one:
Depending on which Office platform you are targeting with your integration, Microsoft's cloud or an on-premises deployment of Office Online Server Deployment , you will use different resources for asking questions to support folks. For the latter (on-premises deployment), you can ask them here. For the former, Microsoft's cloud deployment, you would ask them in Yammer after joining the Cloud Storage Partner Program.
I hope this helps.
Best regards,
Tom Jebo
Sr Escalation Engineer
Microsoft Open Specifications