Authentication
Updated 2026-10-06
In short
Two ways to authenticate. Choose the method that fits your use case. Both provide full access to the API.
API key
Bearer token.
Generate an API key from your dashboard settings. Include it as a Bearer token in the Authorization header of every request.
Authorization: Bearer lp_your_api_key- Best for server-to-server integrations
- Available on Pro plan and above
- Scoped to your account
OAuth 2.0
Authorization code flow.
Use OAuth for MCP connections and user-facing integrations. Users authorize your app through a standard consent flow. Tokens refresh automatically.
POST /oauth/authorize
POST /oauth/token- Best for MCP and user-facing apps
- Available on all plans
- No credentials shared with third parties