Fetch all Messages with Call Recordings

Occasional Contributor

Hi,

I am trying to fetch all call-recordings in a teams channel using graph api

https://graph.microsoft.com/beta/teams/{teamid}/channels/{channelid}/messages

 

What $filter can be used to fetch messages that will only return callrecording message 

microsoft.graph.callRecordingEventMessageDetail
 
Alternatively, can I just subscribe to 
/teams/getAllMessages that will only forward messages of type CallRecordings.
4 Replies

@Kuldeep Desai - Currently List channel messages  supports only $top query parameter. /teams/getAllMessages gives the list of all messages in the channel not just messages of type CallRecordings. 

 

Please check this thread to fetch call recordings - How to get meeting recording url and how to download it? - Microsoft Q&A

Please let us know if you have any more queries?

 

Thanks, 

Meghana

---------------------------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

@Kuldeep - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?

Thanks @ChetanSharma-msft, but unfortunately with the method you suggested, we would need to keep processing unnecessary messages to extract a few message which are actually call recording. Would appreciate if you can suggest a way to just extract messages that contain callRecordings.

Currently it is not possible to only extract messages that contain callRecordings. You can suggest this feature at Microsoft Uservoice.