# POST /api/v1/accounts is deprecated

Mastodon API deprecated POST /api/v1/accounts without giving a shutdown date yet.

The POST /api/v1/accounts endpoint is deprecated without a shutdown date. It was deprecated in favor of the OAuth sign-up flow in version 5.0.0. Requests using this endpoint are slated to fail upon eventual removal.

## What to use instead

Send users through the OAuth sign-up flow via GET /oauth/authorize instead of registering accounts by API. Moving sign-up into the OAuth flow requires updating the application onboarding process rather than simply changing an endpoint call.

Moving sign-up into the OAuth flow changes the app's onboarding, not only a call.

- API: Mastodon API (mastodon.social)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v1/accounts`
- Source: [Announcement](https://docs.joinmastodon.org/methods/accounts/)
- Verified: November 6, 2026, against Mastodon API's own pages
- Page: https://www.okapi.bot/providers/mastodon-api/breaking-changes/post-api-v1-accounts-is-deprecated/

## Mastodon API's words

> 5.0.0 - deprecated in favor of the OAuth sign-up flow

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