Authentication
The Logit.io Developer API uses API user keys for authentication. All requests must include your API key in the x-api-key header.
Obtaining an API Key
- Log in to your Logit.io Dashboard (opens in a new tab).
- Go to Profile (opens in a new tab) (or Profile Settings).
- In the API Keys section, create a new API key.
- Copy the key for use in your application.
Using the API Key
Include the API key in the x-api-key header with every request. The example below fetches your profile:
curl -H "x-api-key: @dashboardApiKey" https://dashboard.logit.io/api/me/profileNever commit API keys to version control or share them publicly. Store them in environment variables or a secure secrets manager.
Managing Keys via API
To create or revoke API keys programmatically, see Profile and API Keys via API.
Security
- Rotate keys regularly — Revoke unused keys and create new ones as needed.
- Least privilege — Use separate keys for different environments or purposes when possible.
- Revocation — You can revoke an API key from the Profile page (opens in a new tab) or via the API at any time. Revoked keys fail authentication immediately.
Next Steps
- Getting Started — Quickstart and first request
- Profile and API Keys via API — Get profile, create/revoke keys, proxy credentials
- API Reference — Interactive reference and schema
- Generating Clients — Generate a typed client from the OpenAPI schema