web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : sX0ZhClToU1uhQ27sdQ2gp
Copilot Studio - General
Unanswered

connect copilot studio bot via API

Like (2) ShareShare
ReportReport
Posted on 7 Mar 2025 06:47:46 by 10
Hello,
 
I want to connect to copilot studio via api.
 
Scenario:
 
I have two chatbots. One handles company's all queries. Another one is HR related queries which built using Copilot studio. I need to connect this HR bot into general bot.
 
Is it possible to connect a Copilot studio bot using API?
 
Example: 
1. Send user query  via api to copilot bot.
2. Retrieve response of copilot via api.
 
Regards
Yogesh
 
 
Categories:
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,560 Super User 2025 Season 2 on 12 Mar 2025 at 04:33:25
    connect copilot studio bot via API
     
    Currently there are no out of the box functionalities to achieve this.
    Copilot Studio itself does NOT expose an API that allows you to send messages or retrieve responses programmatically. There is no official Microsoft documentation confirming that you can directly query Copilot Studio via API.
     
    I think the only way possible for now is Use Direct Line API.

    Microsoft offers Direct Line API for connecting bots built in the Bot Framework. However, Copilot Studio bots do not natively support Direct Line API yet. If you have access to Azure Bot Service, you can deploy your Copilot bot as an Azure Bot and then use Direct Line API to send/receive messages.

    Just for Information:

    Microsoft is already working on Agent to Agent communication feature already. This should be rolled out soon for public.
    i believe this is the exact feature that is required for the above scenario.
    You can mark this and we will discuss about this in near future :)
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete