Authentication
Create an API key in the app (API & Playground → Keys). The secret is shown once. Prefix is lr_.
Send it on every request:
curl -H "X-Api-Key: lr_…" https://api.tryleadreach.com/v1/credits
Authorization: Bearer lr_… is also accepted. Keys are workspace-scoped and use the same credit wallet as the UI. Never put keys on public pages or commit them to git.