Apilyn DocsDeveloper portal

Authentication

Customer integrations authenticate to the public /v1 API with org-scoped API keys. Issue keys from the Apilyn dashboard (sandbox and production environments). Store secrets in your secret manager and rotate them from the dashboard when needed.

HTTP headers

  • Authorization: Bearer YOUR_API_KEY — required on authenticated routes after you have a key secret (prefixes such as sk_test_… for sandbox are described in the recipes doc).
  • X-Org-Id: <uuid> — scopes the request to one organization. Recipes and the quickstart assume this header on job, upload, and tool calls.
  • Idempotency-Key — required on POST /v1/jobs (≤128 characters, scoped per organization). See Recipes.

Creating keys

The sandbox quickstart documents the control-plane flow: an authenticated owner/admin context creates keys via POST /v1/api-keys and receives a one-time secret field. In production you typically create keys only through app.apilyn.com rather than scripting org bootstrap.

Use Authorization: Bearer YOUR_API_KEY (the key secret, not a dashboard session cookie) for all subsequent API calls described in the Quickstart.

Readiness without credentials

Deploy smoke checks can call GET /health/ready on the API origin with no auth. Discovery links are listed on the overview and the marketing developers page.

What this portal does not cover

Dashboard sign-in (magic links, Better Auth, JWT issuers) is product UI auth—not the same as API key auth for /v1. Those flows are configured in deployment runbooks and are not part of the public customer API contract.