Microsoft Teams Client API Call and message control

Hansen, Sindre R 1 Reputation point
2021-01-15T14:25:32.427+00:00

Hi
I am developing an application that is interacting with Skype using Microsoft.Lync.Model library to get notifications of calls and messages and to make calls. Now that Microsoft Teams is replacing Skype, I need an API or library to interact with the Teams Client application in the same way.
As far as I can see this is not available.
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/38534776-full-teams-client-api-including-call-control

Is there a way to use the Microsoft Graph rest API to do this?
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0&preserve-view=true

I need to call and answer the call as the user logged in on the Teams Client application.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,795 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,907 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Nikitha-MSFT 541 Reputation points
    2021-01-18T05:37:34.967+00:00

    Yes, You can call the user by using create call API, You can answer the call using Call:answer API. Please check this Notification API to get notifications.

    0 comments No comments

  2. Hansen, Sindre R 1 Reputation point
    2021-01-27T09:37:58.2+00:00

    Hi
    As I can see from the links you provided is that a bot can make a call and so on, but I want the Teams client application to call. This is what people are trying to get an answer to in the link I referred to.
    https://microsoftteams.uservoice.com/forums/555103-public/suggestions/38534776-full-teams-client-api-including-call-control
    Can you answer the question in the link above? It is the same as I have...