Skip to main content

Overview

Percify authenticates programmatic access via static API keys scoped to a user account. Keys must be kept server-side—never expose them in client bundles.

Obtaining a Key

  1. Visit Dashboard → Settings → API Keys
  2. Generate new key (label for internal tracking)
  3. Copy once; regenerate if leaked

Request Format

Include header:
Content-Type header required for JSON POST bodies.

Example

Verifying Identity

Server resolves the user from key → attaches userId in request context → ban & credit checks applied.

Rotation Strategy

Handling Failures

Storing Keys

Do Not

  • Embed in client-side JavaScript
  • Log full key values
  • Share keys across unrelated services
  • [/quickstart]
  • [/percify/security]
  • [/api-reference/introduction]

Next: browse endpoints in [/api-reference/introduction].