Skip to content
DnsLister Forum

Where domain hunters compare notes

Need help integrating Copilot Studio agent with an external app via Direct Line

Hey everyone!

I’m pretty new to building AI agents with Copilot Studio and I’m currently trying to integrate my agent with an external web app.

I’m struggling a bit with the Direct Line process. It seems pretty hectic 😅, but I’d really like to go with Direct Line if I can get the agent endpoint working first.

My main goal right now is simply to hit the Copilot Studio agent through Postman and understand the correct flow, getting the token, starting a conversation, sending a message, and receiving the response. Once that works, I can handle the integration with my external app. If anyone has done this before and could point me in the right direction or share the correct endpoints/request flow, I’d really appreciate it!

It’s a bit urgent too 😂 since I’ll probably be working over the weekend to get this integration finished.

Thanks in advance! 🙌

I have used my agent's env id in the API as per the documentation, along with secret 1 as authorization header.

https://preview.redd.it/82mznqd318qh1.png?width=1075&format=png&auto=webp&s=8a94a6452b93a5e64f9cb001a143446e98765664

https://preview.redd.it/n1cfu3yiw7qh1.png?width=1757&format=png&auto=webp&s=2ecf4d29b6bdfe0262511aa1dffa37ca462b1fbf

Source: r/copilotstudio · by /u/Tight_Arachnid4209

Leave a Reply

Your email address will not be published. Required fields are marked *