canonical: https://jentic.com/apis/rewardloyalty.co/rewardloyalty

# Reward Loyalty API

Customer loyalty and rewards program API. The API exposes 5 endpoints.

## For AI agents

Programmatically create customer, list customers. Covers 5 operations.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Create customer
- List customers
- Get customer points
- Query and filter Reward Loyalty API records by parameters
- Monitor Reward Loyalty API operational status and events

## Use cases

### Developer Tools Operations

Use the Reward Loyalty API to perform developer tools operations programmatically. The API provides 5 endpoints covering core functionality including create customer, list customers, get customer points.

Example prompt: Call POST /customers to create customer

### Automated Customers Management

Automate customers operations by combining multiple Reward Loyalty API endpoints. Agents can list customers and then get customer points in a single workflow.

Example prompt: Call GET /customers to list customers, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Reward Loyalty API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.

Example prompt: Search Jentic for 'create customer', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/customers` | Create customer |
| GET | `/customers` | List customers |
| GET | `/customers/{id}/points` | Get customer points |
| GET | `/rewards` | List rewards |
| POST | `/transactions` | Create transaction |

## Key resources

- **Customers** — Customers operations
- **Transactions** — Transactions operations
- **Rewards** — Rewards operations
- **Points** — Points operations

## Why Jentic

- **Setup:** Wiring the Reward Loyalty API by hand means handling its API key auth, sending that key on every call to api.rewardloyalty.co, and managing retries yourself. Through Jentic you install once, import the Reward Loyalty API from the API Directory, store the API key once, and your agent calls it.
- **Permission scoping:** Reward Loyalty puts the customer id in the URL path (`/customers/{id}/points`), so a rule can pin your agent to one customer: it can read that customer's points and nothing else. You choose the operations it may call, so ones like creating customers or posting transactions are not included unless you add them.
- **Credential handling:** Your Reward Loyalty API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'create a customer' or 'check a customer's points', and Jentic returns the matching Reward Loyalty API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the Reward Loyalty API use?

The Reward Loyalty API uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I create customer with the Reward Loyalty API?

Yes. Use the POST /customers endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Reward Loyalty API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I create customer through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create customer'. Jentic returns the matching Reward Loyalty API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Reward Loyalty API have?

The Reward Loyalty API exposes 5 endpoints covering customers, transactions, rewards operations.

### Can I limit what my agent is allowed to do with the Reward Loyalty API?

Yes. Because Jentic One is self-hosted, your own rules decide which Reward Loyalty operations and credentials the agent may use. Since the customer id sits in the URL path (GET `/customers/{id}/points`), you can pin the agent to one customer so it reads only that customer's points and nothing else. You choose the operations it may call, so write actions like creating a customer (POST /customers) or posting a transaction (POST /transactions) are excluded unless you add them.
