Fetch all Messages with Call Recordings

%3CLINGO-SUB%20id%3D%22lingo-sub-3071086%22%20slang%3D%22en-US%22%3EFetch%20all%20Messages%20with%20Call%20Recordings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3071086%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20fetch%20all%20call-recordings%20in%20a%20teams%20channel%20using%20graph%20api%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2F%7Bteamid%7D%2Fchannels%2F%7Bchannelid%7D%2Fmessages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fteams%2F%7Bteamid%7D%2Fchannels%2F%7Bchannelid%7D%2Fmessages%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhat%20%24filter%20can%20be%20used%20to%20fetch%20messages%20that%20will%20only%20return%20callrecording%20message%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Emicrosoft.graph.callRecordingEventMessageDetail%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CSPAN%3EAlternatively%2C%20can%20I%20just%20subscribe%20to%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%2Fteams%2FgetAllMessages%20that%20will%20only%20forward%20messages%20of%20type%20CallRecordings.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3071086%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3071724%22%20slang%3D%22en-US%22%3ERe%3A%20Fetch%20all%20Messages%20with%20Call%20Recordings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3071724%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F42246%22%20target%3D%22_blank%22%3E%40Kuldeep%20Desai%3C%2FA%3E%26nbsp%3B-%20Currently%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchannel-list-messages%3Fview%3Dgraph-rest-beta%26amp%3Btabs%3Dhttp%23optional-query-parameters%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EList%20channel%20messages%3C%2FA%3E%26nbsp%3B%3CSPAN%3E%26nbsp%3Bsupports%20only%26nbsp%3B%3C%2FSPAN%3E%24top%3CSPAN%3E%26nbsp%3Bquery%20parameter.%20%2Fteams%2FgetAllMessages%20gives%20the%20list%20of%20all%20messages%20in%20the%20channel%20not%20just%20messages%20of%20type%20CallRecordings.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%3CSPAN%3EPlease%20check%20this%20thread%20to%20fetch%20call%20recordings%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F612555%2Fhow-to-get-meeting-recording-url-and-how-to-downlo.html%3FchildToView%3D642474%23answer-642474%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EHow%20to%20get%20meeting%20recording%20url%20and%20how%20to%20download%20it%3F%20-%20Microsoft%20Q%26amp%3BA%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPlease%20let%20us%20know%20if%20you%20have%20any%20more%20queries%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3EThanks%2C%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EMeghana%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3E---------------------------------------------------------------------------------------------------------%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3EIf%20the%20response%20is%20helpful%2C%20please%20click%20%22**Mark%20as%20Best%20Response**%22%20and%20like%20it.%20You%20can%20share%20your%20feedback%20via%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevSupportFeedback)%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMicrosoft%20Teams%20Developer%20Feedback%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22none%22%3E%26nbsp%3Blink.%20Click%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevCommunityEscalationForm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehere%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22none%22%3E%26nbsp%3Bto%20escalate.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
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.