Skip to main content
The AuthForge Developer API lets you manage licenses programmatically from your own backend. Use it to create licenses after Stripe payments, revoke access, manage variables, configure webhooks, and more.

Base URL

All endpoints are prefixed with /v1/.

Authentication

Every request must include your API key in the Authorization header as a Bearer token:
API keys are created in the Dashboard under Settings → API Keys. Keys are prefixed with af_live_ for identification. Each key is scoped to your account and can manage licenses across all of your applications; the target app is specified per-request via the appId field or URL parameter.
API keys are shown only once when created. Store them securely. If compromised, delete the key in the dashboard and create a new one.

Rate limits

If you exceed the rate limit, you’ll receive HTTP 429 with the Developer API error shape (error + message). Back off and retry with exponential backoff. Public SDK endpoints on auth.authforge.cc (/auth/validate, /auth/heartbeat, /auth/selfban) use different limits and a different JSON body on failure: { "status": "failed", "error": "rate_limited" }. /auth/validate has extra per-IP and per-license application limits; /auth/heartbeat is not IP rate-limited at the application layer. See Error Codes Reference.

Credits

The Developer API itself does not consume credits. Credits are only consumed by SDK authentication (validate and heartbeat calls). See Managing Credits for details.

Response format

All responses return JSON. Successful responses include the requested data directly:
Error responses include an error code and a human-readable message:

Pagination

List endpoints use cursor-based pagination. If more results are available, the response includes a cursor value. Pass it as a query parameter in the next request:
When cursor is null, you’ve reached the last page.

Endpoints

Licenses

Variables

Webhooks

Security

Error codes

See the Error Codes Reference for a complete list of error codes across all endpoints.