how to get callChainId to use in callRecord API

Admin (WSI App Factory) 1 Reputation point
2021-01-21T06:07:45.903+00:00

Hi,
We are trying to fetch the call recording using the API "https://graph.microsoft.com/v1.0/communications/callRecords/{id}" but we are unable to find the id mentioned in the API. Kindly please provide a step by step procedure to be followed to obtain the callChainId.

We have added the required permission CallRecords.Read.All to get the recording details as per the document.

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

1 answer

Sort by: Most helpful
  1. Mallipriya-MSFT 91 Reputation points
    2021-02-08T06:34:25.113+00:00

    Hi @Admin (WSI App Factory) ,

    The following are the two ways to follow to get the callChainId to use for callRecord API -

    1. You have to register Calling and Meeting Bot and Create call using Create Call API. After the call completion, you will get the callChain ID and can use it for callRecord API.
    2. The other way around, You have to subscribe to change notifications to Teams callRecord and please have a look this Github Sample and can get the id for the callRecord.
    0 comments No comments

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.