Okapi Okapi

Onesignal · Endpoint removal

POST /api/v1/players is deprecated

Deprecated, no date

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

What to use instead of these calls

Use Create User (POST https://api.onesignal.com/apps/{app_id}/users) or Create Subscription (POST https://api.onesignal.com/apps/{app_id}/users/by/{alias_label}/{alias_id}/subscriptions).

Calls it hits

  • POST /api/v1/players

This is a Legacy API. Use Create User or Create Subscription instead.

Onesignal, Announcement

Facts

API
Onesignal onesignal.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated

More from Onesignal

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub