SimplyFill.

Authentication

Bearer-token authentication for the SimplyFill REST API.

Authentication

SimplyFill uses Bearer-token authentication. Every API call requires an Authorization: Bearer <key> header.

Generating an API key

  1. Sign in to simplyfill.app/dashboard
  2. Settings → API Keys → Generate new key
  3. Copy the key immediately. You can't view it again — only revoke and rotate.

Keys are scoped to a single environment (development, staging, production). The environment is captured at creation and cannot be changed after the fact; create a new key if you need a different environment.

Using an API key

curl https://api.simplyfill.app/v1/templates \
  -H "Authorization: Bearer sk_test_..."

Key permissions

API keys carry one of three permission scopes:

ScopeAllows
readGET requests only
writeGET + POST + PUT + PATCH
adminAll scopes + DELETE + key management

Default scope on creation is write. Set per-key scopes in the dashboard.

Errors

StatusBodyCause
401 Unauthorized{ "error": "missing_authorization" }No Authorization header
401 Unauthorized{ "error": "invalid_api_key" }Key revoked, malformed, or doesn't exist
403 Forbidden{ "error": "scope_required", "required": "admin" }Key lacks the scope this endpoint requires

Rotation

Best practice is to rotate production keys every 90 days. Programmatically:

  1. Create a new key with the same scope and environment.
  2. Deploy the new key into your application's secret store.
  3. Confirm at least one successful call uses the new key.
  4. Revoke the old key.

The dashboard surfaces a last_used_at timestamp on every key to help confirm step 3.

See also

On this page