Developer API
Authentication

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

  1. Log in to your Logit.io Dashboard (opens in a new tab).
  2. Go to Profile (opens in a new tab) (or Profile Settings).
  3. In the API Keys section, create a new API key.
  4. 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/profile

Never 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 regularlyRevoke 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