Authentication

Where API keys come from, how to send them, and how to keep them safe.


Every Analytics API endpoint requires an API key, sent as a Bearer token. Keys start with rp_ and are followed by 64 hex characters.

Two kinds of keys

SandboxProduction
What it seesthe demo storeyour own store
Where it comes fromthe shared demo key below, or your own key from the Developer ConsoleSettings > API Access in your ReelPlus dashboard
Who can get oneanyonestores on an Enterprise plan, on request
Base URLhttps://help.reelplus.app/api/v1provided when access is enabled

Your own sandbox key

Sign in with GitHub at the Developer Console and click Create key. The full key is shown once; the console keeps the first 12 characters and a hash. The 60 requests per minute are yours alone, the playground sends requests with it from the browser, the usage page shows every call you make, per endpoint, with status and latency, and you can revoke the key there at any time.

The shared demo key

For a quick look without an account:

rp_653f0a33f2bbf185566e8e9a11651a4fd3cfc5fe10c1694eef4d54b830c2d2cf

Read-only, demo data, 60 requests per minute shared by everyone. Nothing you do with it touches a real store.

Production keys

API access is enabled per store on Enterprise plans. Once it is enabled for your store:

Open API Settings

Navigate to Settings > API Access in your ReelPlus dashboard.

Create a New Key

Click Generate API Key, enter a label (for example "Looker Studio"), and confirm.

Generate API Key dialog

Copy Your Key

Your full API key is displayed only once. Copy it immediately and store it securely.

Key format:

rp_<64 hex characters>
  • Prefix: rp_ (always present)
  • Body: 64 hexadecimal characters

Store your key securely. After creation, only the prefix is visible in the dashboard. The full key cannot be retrieved again. If you lose it, revoke it and generate a new one.

Using Your API Key

Include the key in the Authorization header using the Bearer scheme. The examples use the sandbox key, so they run as they are:

curl "https://help.reelplus.app/api/v1/analytics/summary" \
  -H "Authorization: Bearer rp_653f0a33f2bbf185566e8e9a11651a4fd3cfc5fe10c1694eef4d54b830c2d2cf"
const API_KEY = "rp_653f0a33f2bbf185566e8e9a11651a4fd3cfc5fe10c1694eef4d54b830c2d2cf";

const response = await fetch(
  "https://help.reelplus.app/api/v1/analytics/summary",
  { headers: { "Authorization": `Bearer ${API_KEY}` } }
);

const { data } = await response.json();
console.log(data.revenue);
import requests

API_KEY = "rp_653f0a33f2bbf185566e8e9a11651a4fd3cfc5fe10c1694eef4d54b830c2d2cf"

response = requests.get(
    "https://help.reelplus.app/api/v1/analytics/summary",
    headers={"Authorization": f"Bearer {API_KEY}"},
)

print(response.json()["data"]["revenue"])

Key Security

  • Keys are hashed with SHA-256 before storage. Even a database breach would not expose your keys.
  • Only the prefix (the first 12 characters) is stored in plain text, for identification.
  • Last used timestamp is updated on every successful request, so you can spot keys nobody uses anymore.

Managing Keys

ActionDescription
ViewSee prefix, label, status, last used, and created date
RevokeDeactivate a key. Requests with it immediately return 403 INVALID_API_KEY
DeletePermanently remove a key from the system

Security Best Practices

  • Never expose keys in client-side code. Call the API from your server only.
  • Use environment variables instead of hardcoding.
  • Rotate keys periodically.
  • Use labels to track which key is used where.

Never commit API keys to version control. If a key is exposed, revoke it immediately and generate a new one.

Authentication Errors

StatusCodeDescription
401UNAUTHORIZEDMissing or malformed Authorization header
403INVALID_API_KEYAPI key does not exist or has been revoked
403PLAN_LIMITYour plan does not include API access

401 and 403 responses carry no rate-limit headers, because no key was matched to count against.