Skip to main content

Key Management

In the Website

From the dashboard you can:
  • generate keys
  • choose temporary or permanent type
  • set notes/prefixes
  • manage key lifecycle for your script

Public API Endpoints

Only these public routes are for external RG_LIVE integrations:
  • POST /api/keys/create
  • POST /api/keys/verify

Public API Auth

Use:
  • x-api-key: rg_live_...
  • or Authorization: Bearer rg_live_...

Create Example

{
  "scriptId": "<script_uuid>",
  "type": "temporary",
  "duration": 1440,
  "note": "premium",
  "prefix": "PREM"
}

Verify Example

{
  "scriptId": "<script_uuid>",
  "key": "Key_..."
}