# POST /api/v4/teams/{}/import stops working

Calls to POST /api/v4/teams/{id}/import on Mattermost API stopped working on October 1, 2026.

On October 1, 2026, the POST /api/v4/teams/{id}/import endpoint was removed. Calls to this endpoint now fail. The built-in Slack import API and CLI are no longer available.

## What to use instead

Convert the Slack export with the mmetl tool and import it with mmctl import, which uses POST /api/v4/imports and the import job API.

- API: Mattermost API (*.cloud.mattermost.com)
- Kind: Endpoint removal
- Announced: October 1, 2026
- Takes effect: October 1, 2026
- Calls after that day: fail
- Calls it hits: `POST /api/v4/teams/{id}/import`
- Source: [Announcement](https://docs.mattermost.com/product-overview/deprecated-features.html)
- Verified: November 6, 2026, against Mattermost API's own pages
- Page: https://www.okapi.bot/providers/mattermost-api/breaking-changes/post-api-v4-teams-import-stops-working/

## Mattermost API's words

> The built-in Slack import API and CLI have been removed. The POST /teams/{team_id}/import endpoint and the mattermost import slack command are no longer available. Use the mmetl tool with mmctl import instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
