# Joy Loyalty developer docs

> Source: https://devdocs.joy.so/ · Last updated: 2026-11-26

Go beyond the default widget and connect your apps, storefronts and AI assistants directly to Joy's loyalty engine.

## Pick a product

- [MCP server](https://devdocs.joy.so/joy-mcp-server/overview/): Use 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 SDK](https://devdocs.joy.so/joy-javascript-api/): Use 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 v2](https://devdocs.joy.so/joy-rest-api-v2/rest-api-v2/): Use it when a backend, mobile app or third-party system needs customers, points, rewards, VIP tiers and referrals. Essential plan and higher.
- [Headless API](https://devdocs.joy.so/joy-headless-api/overview/): Use 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 API](https://devdocs.joy.so/webhook-api/webhook-api/): Use 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:

```bash
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](https://devdocs.joy.so/joy-rest-api-v2/authentication/) and browse the [REST API v2 reference](https://devdocs.joy.so/joy-rest-api-v2/api-references/).

### Listen to webhooks

Register an HTTPS endpoint with [Create Webhook](https://devdocs.joy.so/webhook-api/api-reference/#create-webhook), choose topics from [Webhook Events](https://devdocs.joy.so/webhook-api/webhook-events/), and check every delivery with [HMAC verification](https://devdocs.joy.so/webhook-api/security/#hmac-verification).

Working with an AI assistant instead? In Joy, go to **Settings → Developers → AI connections** and follow the [MCP server overview](https://devdocs.joy.so/joy-mcp-server/overview/).
