# POST /api/v1/accounts is deprecated

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

- 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/)
- Page: https://www.okapi.bot/providers/mastodon-api/breaking-changes/post-api-v1-accounts-is-deprecated/

## What to use instead

Send users through the OAuth sign-up flow (GET /oauth/authorize) instead of registering accounts by API.

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

## Mastodon API's words

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