Querying a list of all calls

Jonathan Tougas 26 Reputation points
2022-11-23T18:39:06.62+00:00

Is there any way to list call records via the graph api or other?

I've found these, but nothing offers a workaround or alternatives, or anything that might lead me to believe when this might be made available.
https://github.com/microsoftgraph/microsoft-graph-docs/issues/18021
https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/expose-direct-rest-api-to-fetch-callrecordid-for-ms-teams/idi-p/2808397

I see an api being used by the teams admin center to list calls for users. Can this be used? Is it documented perhaps?

Cheers!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,321 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 5,951 Reputation points
    2022-11-23T21:04:33.94+00:00

    Hi @Jonathan Tougas

    To get the call record you can use Get callRecord Graph API along with the respective permissions.

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

    1. Subscribe to change notifications to the /communications/callRecords endpoint.
    2. Use the callChainId property of a call. The call record is available only after the associated call is completed.

    Please note: The Graph API doesn't give you the ability to enumerate the CallId's at the moment.

    For more details please refer to this documentation.

    Hope this helps.

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

    0 comments No comments