Use Microsoft graph api from custom tab to get information on incoming calls realtime

Arun A 51 Reputation points
2022-03-08T09:46:08.427+00:00

I have created and uploaded a custom tab app in teams desktop app. Can I use Microsoft graph api to get details on incoming call realtime for the logged in user?

Can i create a subscription to listen to incoming calls realtime?

Thanks
Arun

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 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.
3,065 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Shivam Dhiman 5,951 Reputation points
    2022-03-09T13:01:33.9+00:00

    Hi @Arun A

    Hope you are doing well.

    Currently there is no such way to receive calls in real time using Graph API as of now.
    As a alternative you can use webhook to receive notifications by creating subscription for incoming call.

    The problem with the webhook is the notifications of incoming calls has a high latency so the received data is not in realtime.

    Since this feature/functionality is presently not available, you can submit a feature request idea using this support link , which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs. I will also upvote for you.

    You can also track new features/changes in Graph API Using the below Documentation.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

  2. Prasad-MSFT 6,111 Reputation points Microsoft Vendor
    2022-03-09T14:40:49.68+00:00

    There is no such alternative to receive calls in real time using Graph API as of now.
    However,Using webhooks and the MS Graph Subscription API, you can receive a continuous feed of call records as they are created.

    Thanks,

    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments