How to get the call id of an onlineMeeting through graph api?

Abdul Haadi 36 Reputation points
2022-03-15T13:50:58.13+00:00

Hi!

I am trying to use the following api but for that i need a call id of a meeting.
https://learn.microsoft.com/en-us/graph/api/call-updaterecordingstatus?view=graph-rest-1.0&tabs=http

Can you help me with the following

1-Get call id for a meeting / onlineMeeting?
2-Get call id through a webhook whenever someone starts a meeting?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,882 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,058 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,560 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rahul Vetal 5 Reputation points
    2023-07-20T15:17:55.78+00:00

    Hi, How to get callChainId property of a call using graph api?

    1 person found this answer helpful.
    0 comments No comments

  2. Shivam Dhiman 6,071 Reputation points
    2022-03-15T15:49:21.477+00:00

    Hi @AbdulHadi-9960

    There are two ways to get the id of a callRecord:

    • Use the callChainId property of a call. The call record is available only after the associated call is completed.
      A callChainId property is a unique identifier for all the participant calls in a conference or a unique identifier
      for two participant calls in a P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId.
    • There is no webhook available to get call id whenever someone starts a meeting.
      However you can subscribe to change notifications to the /communications/callRecords endpoint.
      This will sends HTTP POST to your endpoint each time a call is completed. The payload will contain the call id.

    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".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.