Mattermost API
POST /api/v4/teams/{id}/channels/search_archived endpoint removal
Deprecated, no dateSubscribe to Mattermost APIShare
Mattermost announced the deprecation of POST /api/v4/teams/{id}/channels/search_archived on October 1, 2025, without a shutdown date. The endpoint has been deprecated in favour of another route, and calls to it will eventually fail.
Calls it hits
POST /api/v4/teams/{id}/channels/search_archived
What to use instead of these calls
Call POST /api/v4/channels/search with the deleted parameter set to true instead.
In Mattermost API's words
has been deprecated in favour of /api/v4/channels/search with the deleted parameter.
Facts
- API
- Mattermost API
*.cloud.mattermost.com - Kind
- Endpoint removal
- Announced
- October 1, 2025
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against Mattermost API's own pages
Questions
When does this change take effect?
Mattermost API deprecated POST /api/v4/teams/{id}/channels/search_archived without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: Mattermost API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Mattermost API 1
-
POST /api/v4/teams/{id}/importEndpoint removal Stopped working
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.