Skip to main content

Deprecation

Introduction

As the platform evolves, API endpoints and data model fields may change through removal or replacement. We maintain backwards compatibility for a transition period to allow you to migrate away from changing components.

This guide lists all APIs and data model properties that are being removed or replaced, organized by urgency.

APIs

API End-pointDeprecated sinceRemoval afterSDK methodReplacement
POST /v1/js/{key}/{site} /leaderboards/behaviour/{id}7.4.21st January 2025N/AN/A
POST /v1/{site}/activities6.3.01st June 2024ActivitiesService .createAsync()POST /v2/{site}/activities
POST /v1/js/{key}/{site}/activities6.3.01st June 2024N/APOST /v2/js/{key}/{site}/activities

Data models

Data modelPropertyDeprecated sinceRemoval afterReplacement
Activityactivity.points9.0.11st January 2026GET /v1/points/transactions/{activityId}
Useruser.facebook8.0.31st July 2025Facebook properties can be added to users via custom fields.
Useruser.twitter8.0.31st July 2025Twitter properties can be added to users via custom fields.
Useruser.points7.6.01st April 2025The points property associated to the user can now be retrieved by using the user point wallets and transactions endpoints.
AwardedBehaviour, AwardedReward, AwardedKPIprizes.coupon, prizes.couponId, prizes.hideCoupon6.2.51st April 2023This property will no longer be populated in request to the Notifications API. The coupon's now have a separate notification with an AwardedCoupon which should be used instead of the field above.

Other deprecations

ItemDeprecated sinceRemoval afterNotes
OAuth2Exception invalid_token exception8.0.01st January 2026As of version 8.0.0 all OAuth2Exception errors conform to the OAuth 2 specification. Versions prior to 8.0.0 will continue to receive the old UnauthorizedException for the invalid_token error until the version is upgraded to version 8.0.0 or later.
pointIds query parameter on GET /v1/{site}/activities and GET /v1/{site}/activities/{uuid}7.6.01st April 2025Filtering activities by points is being replaced by filtering point transactions by pointId. See the user point transactions endpoint.
Java/PHP/.NET SDKs pre 6.3.06.3.01st June 2024Java/PHP/.NET SDKs prior to Mambo 6.3.0 used the POST /v1/js/{key}/{site}/activities endpoint, which is now no longer supported. Upgrade to a more recent version of the SDK that uses v2 endpoints.
Widgets and Javascript SDKs pre 6.3.06.3.01st June 2024Widgets and Javascript SDKs prior to Mambo 6.3.0 used the POST /v1/js/{key}/{site}/activities endpoint, which is now no longer supported. Upgrade widgets to a more recent version.
JSONP support6.0.01st January 2024All Javascript APIs support CORS since Mambo 6.0.0. Javascript requests relying on JSONP should be migrated to CORS. If you are using the Mambo Widgets you can simply update them to the latest version.
Widgets pre 5.18.06.0.01st January 2024Widgets prior to Mambo 6.0.0 relied on JSONP and will no longer be supported. Upgrade Widgets to a more recent version that uses CORS.

How to prepare for deprecations

  1. Identify affected components: Review your integration against the tables above to identify components that need updating.

  2. Prioritise by removal date: Focus on items with the nearest removal dates first.

  3. Test thoroughly: After making changes, ensure your integration works correctly with the new endpoints or data models.

  4. Stay updated: Check this documentation regularly as new deprecations may be added.