# Reward Sciences API Documentation

This is the complete API documentation for connecting to the Reward Sciences API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Reward Sciences connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/rewardSciences/actions/{actionSlug}/run
```

## Reward Sciences actions

- POST `assign-external-identity-to-user` Assign External Identity To User
- POST `bid-on-reward` Bid On Reward
- POST `create-user-by-external-identity` Create User By External Identity
- GET `get-reward` Get Reward
- GET `get-user` Get User
- GET `get-user-by-external-identity` Get User By External Identity
- GET `list-reward-categories` List Reward Categories
- GET `list-rewards` List Rewards
- POST `redeem-reward` Redeem Reward
- POST `track-activity` Track Activity
