Ability to search deleted posts in team/channel

Hi
Is their an API that includes the deleted posts in the result? I see SearchPostsWithParams but it does not return deleted posts for a search term.
Thanks.

Hi @Nubaid! The Mattermost API probably does not return deleted posts by default in search results. However, it looks like you can retrieve deleted posts using the GetPostsForChannel API with the include_deleted parameter set to true. More details can be found in the API documentation. Hope that helps!