Skip to main content
The Trophy Admin API is available in the same SDKs as the Application API, under the trophy.admin namespace. For example in NodeJs you can use the following code to create a points boost through the admin namespace:
Admin API Usage
import { TrophyApiClient } from '@trophyso/node';

const trophy = new TrophyApiClient({
  apiKey: 'YOUR_API_KEY'
});

const response = await trophy.admin.points.boosts.create({
  systemKey: 'xp',
  boosts: [
    {
      userId: 'user-123',
      name: 'Double XP Weekend',
      start: '2024-01-01',
      end: '2024-01-03',
      multiplier: 2
    }
  ]
});

Get Support

Want to get in touch with the Trophy team? Reach out to us via email. We’re here to help!