Authentication

All API requests require an API key passed in the x-api-key header.

Getting an API Key

  1. Create a free account (no credit card required)
  2. Navigate to the Dashboard
  3. Click "Create API Key" and give it a label
  4. Copy the full key value — it is only shown once

Request Header

Include your API key in every request:

POST /v1/interactions/check HTTP/1.1
Host: api.rxlabelguard.com
Content-Type: application/json
x-api-key: rxlg_your_api_key_here

Key Security

API keys are hashed on our servers — we store a SHA-256 hash, not the plaintext value. If you lose a key, generate a new one from the dashboard.

  • IP restrictions — Limit which IP addresses can use each key
  • Scope controls — Restrict keys to specific endpoints
  • Per-key rate limits — Set custom rate limits per key
  • Revocation — Instantly disable compromised keys

Key Prefix

All RxLabelGuard API keys begin with the prefix rxlg_. This helps identify keys in your codebase and logs without exposing the full value.