Skip to main content

Authentication

All LeoKit endpoints use an API key passed in the Api-Key header.
Api-Key
string
required
Your LeoKit API key.
Never commit API keys to version control or embed them directly in documentation pages.

Use the API Playground

1

Add your API key once

In any endpoint page, open the API Playground and paste your API key into the Api-Key field.
Mintlify stores this value in your browser, so it will be reused across all endpoints.

Demo key (sandbox)

Use your demo key in the API Playground:
7037d2b3-9c76-4f62-b730-c544f7570fa4
If you want the docs to be “ready to run” for every visitor, treat the demo key as public (tight rate limits, sandbox-only, minimal permissions). Even then, it can be abused, so you should expect to rotate it.