Lype

Authentication

How to authenticate with the Lype API

The Lype API uses API keys. All API keys start with sk_. Create them from the API Keys page in the dashboard.

Passing your API key

Use either header:

x-api-key: sk_your_api_key
Authorization: Bearer sk_your_api_key

Every endpoint except GET /api/health requires authentication.

ResponseCause
401 UnauthorizedNo API key was sent, or the key is disabled or expired
403 ForbiddenThe API key does not exist

Rate limits

Each API key may make 60 requests per 60 seconds. Beyond that, requests get 429 Too Many Requests with a Retry-After header (seconds) until the window resets.

On this page