There are two ways to get the id of a callRecord:
- Subscribe to change notifications to the /communications/callRecords endpoint.
- 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.
You can refer to Get callRecord to know more.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".