# GET /api/v1/players is deprecated

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

Onesignal deprecated the GET /api/v1/players endpoint without a shutdown date. Calls made to this endpoint will eventually fail. Onesignal characterizes this as a legacy interface.

## What to use instead

Replace calls with View User or the CSV Export API.

- 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`
- Source: [Announcement](https://documentation.onesignal.com/reference/view-devices)
- Verified: November 6, 2026, against Onesignal's own pages
- Page: https://www.okapi.bot/providers/onesignal/breaking-changes/get-api-v1-players-is-deprecated/

## 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
