# POST /api/v1/players is deprecated

Onesignal deprecated POST /api/v1/players without giving a shutdown date yet.

Onesignal deprecated the endpoint POST /api/v1/players without announcing a shutdown date. Calls made to this route will eventually fail. Onesignal identifies this as a legacy route.

## What to use instead

Switch to Create User or Create Subscription instead.

- API: Onesignal (onesignal.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v1/players`
- Source: [Announcement](https://documentation.onesignal.com/reference/add-a-device)
- Verified: November 6, 2026, against Onesignal's own pages
- Page: https://www.okapi.bot/providers/onesignal/breaking-changes/post-api-v1-players-is-deprecated/

## Onesignal's words

> This is a Legacy API. Use Create User or Create Subscription 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
