# GET /api/v1/players/{} is deprecated

Onesignal deprecated GET /api/v1/players/{id} without giving a shutdown date yet.

Onesignal has deprecated the GET /api/v1/players/{id} endpoint without a shutdown date. Requests sent to this legacy endpoint will eventually fail. Onesignal characterizes this as a legacy route and points developers to alternative user-level options.

## What to use instead

Switch calls to the View User endpoint using the path GET apps/{app_id}/users/by/{alias_label}/{alias_id} or use the CSV Export API instead.

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

## Onesignal's words

> This is a Legacy API. Use View User or CSV Export API 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
