Authenticate to White Label Loyalty's Rewards Core API and record a customer event to award points
domain: docs.whitelabel-loyalty.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Obtain an X-Api-Key for public-tier calls, and a Bearer user or admin token (used alongside the API key) for user- or admin-scoped calls.
Review available event types via GET /v1/event_types so you send a type your program actually recognizes.
POST /v1/events with a type (e.g. TRANSACTION_COMPLETED) and a subject identifying the user, to trigger any matching earning rule.
Look up the resulting user state via /v1/users to confirm the point award.
Layer in the Marketing Core API or Receipts Core API separately if your integration also needs campaign messaging or receipt-based earning.
Known gotchas
Public, user-level, and admin-level calls require different combinations of the API key and bearer token — sending the wrong tier of token for an endpoint will be rejected.
Custom event types must be defined/enabled in the program configuration before the Events endpoint will act on them.
Treat any API key/token as a secret and only call user/admin-scoped endpoints from a trusted backend.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?