Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
GET https://onesignal.com/api/v1/players?app_id={app_id}&limit={limit}&offset={offset}
https://onesignal.com/api/v1/players?app_id={app_id}&limit={limit}&offset={offset}
app_id
limit
offset
Authorization
Basic YOUR_LEGACY_REST_API_KEY
GET /api/v1/players?app_id=your_app_id&limit=100&offset=0 HTTP/1.1 Host: onesignal.com Authorization: Basic YOUR_LEGACY_REST_API_KEY
{ "total_count": 6, "offset": 0, "limit": 300, "players": [ { "id": "player_id_1", "identifier": "push_token_or_email", "session_count": 3, "language": "en", "timezone": -28800, "game_version": "1.0", "device_os": "15.0", "device_type": 1, "tags": { "level": "15", "user_type": "free" }, "last_active": 1625253300, "created_at": 1625249800, "invalid_identifier": false, "external_user_id": "user123" } ] }
total_count
players
players[].id
players[].identifier
players[].tags
players[].external_user_id
Was this page helpful?