Authentication
Create API keys and authenticate requests to the Levercast API.
API Keys
The Levercast API uses bearer API keys for authentication. Keys are prefixed with lc_ and are scoped to your user account.
Creating an API Key
- Navigate to Settings → API Keys in the dashboard
- Click Create API Key
- Give it a descriptive name (e.g., "Zapier Integration" or "MCP Client")
- Copy the full key immediately — it won't be shown again
The key is hashed before storage. Only the prefix (lc_...) is stored for identification.
Using an API Key
Include the key in the Authorization header of every request:
curl -H "Authorization: Bearer lc_your_key_here" \
https://app.levercast.com/api/v1/meManaging Keys
From Settings → API Keys you can:
- View all keys with their name, prefix, and last-used timestamp
- Revoke a key to permanently disable it
Revoked keys immediately stop working. There is no way to un-revoke — create a new key instead.
GET /me
Returns the authenticated user's profile.
Response:
{
"data": {
"id": "uuid",
"email": "user@example.com",
"name": "Jane Doe",
"createdAt": "2025-01-15T10:30:00Z"
}
}Error Responses
| Status | Meaning |
|---|---|
401 | Missing, invalid, or revoked API key |
429 | Rate limit exceeded — check Retry-After header |