onesignal-php-api icon indicating copy to clipboard operation
onesignal-php-api copied to clipboard

API used is deprecated and will be switched of by OneSignal in Q1 2026

Open bravik opened this issue 7 months ago • 2 comments

According to OS docs the API enpoint used by this package is deprecated and will be disabled soon: https://documentation.onesignal.com/docs/keys-and-ids#organization-api-key:~:text=On%20the%2014th,Keys%20%26%20IDs%20page

Legacy user API keys will be deprecated on the 1st of March 2025, and legacy app API keys will be deprecated in Q1 2026.

And to update you must update endpoint:

Make sure your API requests are using https://api.onesignal.com and not the legacy https://onesignal.com/api/v1/ URL.

Current package uses https://onesignal.com/api/v1'

bravik avatar Jun 17 '25 07:06 bravik

Want to contribute? 😉 Are new URL endpoints compatible with the old one?

norkunas avatar Jun 17 '25 12:06 norkunas

@norkunas sorry, I don't have resources for this at the moment. Just leaving the issue for people to be aware of, cause it's not really obvious neither in OS docs nor in this repo, that there will be such problem soon enough...

bravik avatar Jun 17 '25 16:06 bravik