The Agentic Layer
Let agents
do the work.
A secure machine-to-machine API that lets AI agents, POS systems,
and automation tools operate your loyalty platform directly.
Award points. Redeem rewards. Query balances. No UI required.
Currently in beta. How to enable →
Loyalty without the UI.
The Agentic Layer exposes your loyalty engine at /api/agent/v1.
Stateless, JSON-based, scoped by role. AI agents, POS systems, and automation tools
get read/write access to clubs, cards, members, rewards, stamps, vouchers, tiers, and staff.
Role-based keys
Polymorphic API keys scoped by role. Partner keys (rl_agent_), Admin keys (rl_admin_), and Member keys (rl_member_). One-time display, bcrypt-hashed, optional expiration.
Granular scopes
Each key carries explicit scopes: read, write:transactions, write:rewards, or full admin access. Multi-tenant isolation enforced per request. Every action audit-logged.
Agent-native tooling
Full OpenAPI 3.0 spec. Built-in tool discovery (/tools?format=openai) for LLM integration. Export definitions for OpenAI, Anthropic, MCP, or generic JSON Schema.
The protocol.
A customer talks to an AI assistant. The assistant talks to your loyalty platform. The customer never opens an app.
POST /api/agent/v1/partner/transactions/purchase
// X-Agent-Key: rl_agent_a8f3k2m1...
{ "card_id": 42, "member_id": 189, "amount": 24.50 }
// → 200 OK
{
"points_awarded": 245,
"new_balance": 2585,
"tier": "Gold",
"transaction_id": 7841
}
What this opens up.
Each key role unlocks a different class of integration. Partners connect POS systems. Members delegate to AI assistants. Admins automate operations.
POS & e-commerce
Your POS uses a Partner key (rl_agent_) to award points on purchase and redeem rewards at checkout. Real-time earn-and-burn without custom development.
AI agent orchestration
AI assistants from OpenAI, Anthropic, or your own LLMs can query balances, suggest rewards, and redeem on behalf of customers. All via the same REST API.
Zapier & Make workflows
Trigger loyalty actions from external events. Shopify order → award bonus points. CRM tag update → advance tier. Any HTTP-capable automation tool works with the Agent API.
Member delegation
Members share scoped rl_member_ keys with trusted services, letting a webshop auto-apply discounts, or a personal AI monitor rewards. Limited access, no full login.
Loyalty is going
headless.
Today, a customer opens an app, finds their card, scans a code. Tomorrow, their AI assistant queries their balance and redeems a reward mid-conversation.
Traditional SaaS without agentic interfaces risks irrelevance. The Agentic Layer makes your loyalty infrastructure API-first and integration-ready, without changing anything you already use.
A screen for the humans. An API for the agents. Reward Loyalty ships both.
Runs on your server.
The Agentic Layer is not a third-party service. It's part of your Reward Loyalty installation. Your server, your data, your rules. Agents never touch infrastructure you don't control.
Now in Reward Loyalty
The interface disappears.
The loyalty stays.
Partner, Admin, and Member agent endpoints are live. The Agent API ships as part of your existing license. Currently in beta. See docs to enable.
Self-hosted · Full source code · No monthly fees
The agent-ready loyalty platform.