Skip to main content

Notifications

Community site session details

Community site session details

Session Id : IP03D94PmFOy7Wl13T56DU
Copilot Studio - General
Unanswered

API Call for my custom copilot

Like (2) ShareShare
ReportReport
Posted on 20 Mar 2024 10:17:14 by 29

Hello, I wanted some help in the copilot studio.

Once I have created a custom copilot using the studio with some dummy training data. How do I access it in my application?

Is there any API or any endpoint that is generated after the copilot is created?

And is the license available for commercial purpose to use our custom copilot in our software?

Any Help would be really appreciated with some steps or some documentation resources.

Thanking You.

Categories:
  • juangonzalezAuc Profile Picture
    80 on 25 Oct 2024 at 17:04:18
    API Call for my custom copilot
    You can also add the copilot to your sharepoint app or create its own app using this:
     
    I made it work in the second case (Sharepoint app using sharepoint data as knowledge) but I see no reason for it not to work on the first case.
     
    If you want to use Sharepoint as a knowledge source you need to enable authentication, I believe there's no way around that
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,527 Super User 2025 Season 1 on 25 Oct 2024 at 15:49:42
    API Call for my custom copilot
    Hi Adnan4,
     
    Can you please help to share how you made it work for the benefit of others please.
     
    Thanks in Advance!
  • NN-25101323-0 Profile Picture
    2 on 25 Oct 2024 at 13:36:04
    API Call for my custom copilot
    Hello Adnan4
    Glad that you were able to figure out this. I am also looking for a solution to access copilot from a website via API. I am not willing to embed the <iframe> code to the HTML source code and make the chatbot appear on the website. 
    Can you please explain how you were able to achieve this? Perhaps can you share some reference other than the documentation?
     
    Thank you in advance! 
     
  • Adnan4 Profile Picture
    29 on 01 Apr 2024 at 04:37:58
    Re: API Call for my custom copilot

    Hello, Dear Community ,
    I just wanted to let you know that the Copilot's, API and integration are finally working well using the DirectLine API.
    Thank you for your efforts in helping me solve this.
     
    In the next phase, I want to train my copilot in my copilot studio.
    Please let me know what methods and techniques to use to train my copilot.
    Your answers are much appreciated.

  • holgerimbery Profile Picture
    4 on 28 Mar 2024 at 14:17:02
    Re: API Call for my custom copilot

    @Adnan4 :
    Please go to Settings -> Security -> Authentication and tick "No Authentication"

    https://learn.microsoft.com/en-us/microsoft-copilot-studio/configuration-end-user-authentication


  • Adnan4 Profile Picture
    29 on 28 Mar 2024 at 04:29:43
    Re: API Call for my custom copilot

    Any Idea how we can fix this?

     

  • Adnan4 Profile Picture
    29 on 26 Mar 2024 at 10:01:45
    Re: API Call for my custom copilot

    Adnan4_1-1711447249673.png

    i have not used DirectLine but i just used the <iframe> tag which i got it from the channels.
    but when i click Login i am getting the above error..

  • Adnan4 Profile Picture
    29 on 26 Mar 2024 at 09:56:02
    Re: API Call for my custom copilot

    Adnan4_0-1711446894018.png

    after adding the copilot in a test website it worked and when it asked for login it gave this error, i went to azure and added a new URI too, but still gives me this error.

    Is there a way to fix it?

     

  • Adnan4 Profile Picture
    29 on 26 Mar 2024 at 09:54:06
    Re: API Call for my custom copilot

    yes i fixed it and i got the <iframe> tag for the custom website.

    coming to your question, my use of copilot is a requirement from my company and also it is low code, so i am exploring on how to add a copilot assistant in our website since copilot studio is from microsoft?

    Let me check what is BF Webchat, is it a low code platform to create a copilot assistant?

  • adilei Profile Picture
    on 26 Mar 2024 at 08:45:43
    Re: API Call for my custom copilot

    1. Change authentication to "No Authentication" or "Manual", and then publish, to enable the custom website channel.

     

    2. Copilots built with copilot studio are accessible via the Directline API. 

     

    Out of curiosity, why would you want a "headless" copilot? BF Webchat is a really flexible client for Directline which can cover most requirements. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started