Hi, How to get callChainId property of a call using graph api?
How to get the call id of an onlineMeeting through graph api?
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?
2 answers
Sort by: Most helpful
-
-
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".
- Use the callChainId property of a call. The call record is available only after the associated call is completed.