Skip to content

API Overview

FlareKey exposes two separate APIs with two separate kinds of credential. The dashboard API manages your workspace and is authenticated with a management API key that must never leave your own systems. The runtime API is what a shipped loader talks to, and it never carries your management key. Mixing the two up is the most common and most damaging integration mistake, so this page covers which credential goes where before you start.

Getting your management API key

  1. Open the dashboard and go to your account settings.
  2. Generate or regenerate the management API key. The full key is shown once, at creation time - store it immediately in your secret manager.
  3. Afterwards only a masked preview and the creation date are visible; FlareKey stores a hash, not the key, and cannot show it to you again.
  4. Send it as an HTTP header on dashboard API calls: Authorization: Bearer fk_live_xxx
  5. Lost or leaked keys are replaced by regenerating, which immediately invalidates the previous key. Rotation has to be done from a signed-in session, not with the API key itself.

The credentials, and which are safe to ship

CredentialLooks likeUsed bySafe in a shipped loader?
Management API keyfk_live_...Your own backend or tooling, against /api/dashboard and /api/obfuscationNo - it can manage your entire workspace
Service runtime keypk_...Service-level runtime configurationNo - keep it in dashboard and admin workflows
Runtime secret40 hex charactersThe service's runtime guardNo
Customer license keyFLARE-XXXX-XXXX-XXXX-XXXXThe customer running your scriptYes - this is the value a buyer holds
Session tokenapi_sess_...One runtime session, returned by license verificationYes - short-lived and session-bound
Ticketticket_...Authorizing exactly one protected downloadYes - single use

Security awareness

  • Anything a public loader can read is public. A customer can read every string in the script they were given, so the only credentials that belong there are the ones scoped to that customer's own session.
  • The runtime flow is deliberately layered: a license key starts a session, the session buys a single-use ticket, and only the ticket downloads code. Do not collapse those steps or cache their results across users.
  • Rotate a management key the moment you suspect exposure. Regenerating invalidates the old key immediately.
  • Treat error codes as machine-readable outcomes rather than strings to display. Back off on rate_limited, re-verify on session_expired, and request a new ticket on ticket_used or ticket_expired.
  • Never send management credentials from a browser. Calls that use fk_live_ keys belong on a server you control.

Limits

Two separate limits apply: a monthly request allowance tied to your plan, and a fixed per-minute rate limit that protects the service from bursts.

PlanAPI requests / month
Free10,000
Basic200,000
Advanced1,500,000
ProUnlimited
EnterpriseUnlimited
Rate limitCeiling
Runtime and API endpoints120 requests per minute
Dashboard write actions60 requests per minute
License key generation20 requests per minute
Authentication attempts20 per 15 minutes
  • Exceeding a rate limit returns the rate_limited error code. Back off and retry rather than looping.
  • Unlimited means the plan is not subject to the normal monthly cap. Per-IP abuse protection still applies.

Next

API Usage documents every runtime and dashboard endpoint with its request, response and error codes.

FlareKey documentation