Joy Loyalty developer docs
Go beyond the default widget and connect your apps, storefronts and AI assistants directly to Joy's loyalty engine.
Pick a product
MCP serverUse it when you want an AI assistant (Claude, ChatGPT, Claude Code, Cursor, Codex) to work with a store's live loyalty data in plain language.Joy Loyalty SDKUse it when you build custom loyalty features on the Shopify storefront: display customer info, redeem points for rewards, open or close the widget.REST API v2Use it when a backend, mobile app or third-party system needs customers, points, rewards, VIP tiers and referrals. Pro plan and higher.Headless APIUse it when a headless storefront (Hydrogen, Weaverse, a mobile app or a custom frontend) must show and run the loyalty program without Liquid. Ultimate plan.Webhook APIUse it when a CRM, marketing tool or custom app needs real-time notifications of loyalty events. Ultimate plan, or Advanced with REST API access.
Start here
Get your API keys
In Joy, go to Settings → Developers → Manage keys and copy your App ID and Secret key. Every REST API v2 and Webhook API request sends them as the X-Joy-Loyalty-App-Key and X-Joy-Loyalty-Secret-Key headers.
Make your first REST call
List your customers with REST API v2:
curl -X GET "https://api.joy.so/rest_api/v2/customers" \
-H "X-Joy-Loyalty-App-Key: your_app_key" \
-H "X-Joy-Loyalty-Secret-Key: your_secret_key" \
-H "Content-Type: application/json"Then read Authentication and browse the REST API v2 reference.
Listen to webhooks
Register an HTTPS endpoint with Create Webhook, choose topics from Webhook Events, and check every delivery with HMAC verification.
Working with an AI assistant instead? In Joy, go to Settings → Developers → AI connections and follow the MCP server overview.