Server API
The Teak Server API allows you to communicate directly with the Teak server, making it easy to handle tasks from your backend rather than the client. Here you’ll find everything you need to manage notifications, handle rewards, track purchases, and maintain player data.
First Steps
-
To start offering in-game rewards → Implement Teak Reward Endpoint
-
Schedule certain Notification sends from your game server → API Driven Notification Sends
-
Give your CRM’s more tools for personalization → Integrate Player Properties
Once you’ve set up these core features, move on to managing communication preferences, purchase tracking, and more advanced player data tasks. If you need help reach out for support.
API Overview
Here are the common server-side features you should consider implementing:
Notifications
-
API Driven Notification Sends
Programmatically schedule notifications for players at specific times or in response to in-game events. -
Bulk Schedule Creation
Create scheduled notifications in bulk that can be edited and managed in the Teak Dashboard.
Rewards & Player Data
-
Teak Reward Endpoint
Configure and validate reward callbacks to ensure your server grants rewards in response to Teak events. -
Claiming Teak Rewards
Securely claim Teak rewards on your server or client so players receive their in-game coins or items. -
Player Properties
Set a player’s custom attributes to enable personalized notifications and advanced segmentation. -
Purchase Reporting
Report in-app purchases from your backend so Teak can accurately track revenue and player spend behavior.
Communication & Subscription Management
-
Email Address Management
Securely add and update player email addresses through your backend. -
Opt Out Category Management
Manage player opt-out preferences for specific notification categories, respecting privacy choices. -
Push Subscription Management
Enroll or remove players from push notification subscriptions and maintain up-to-date preference data. -
Desktop Web Push Subscription Management
Handle desktop web push subscription statuses across devices or browsers to keep player messaging in sync.
Privacy Compliance
-
Exclusion Management
Create time-limited exclusions that halt all marketing communication until the exclusion is lifted or expires. -
Player Removal
Remove player data from Teak to stay compliant with privacy regulations.
Feature Requests
Is there something missing, or a feature you’d like to see supported? Reach out to us at team@teak.io