Prerequisites
Before you begin, you need:- A Leadey account. Sign up at app.leadey.ai — new workspaces start on a 14-day free trial.
- An API key (created in the next step).
- A terminal with
curl, or any HTTP client.
Get started
1
Create an API key
In the Cockpit, open Settings → API Keys and select Create key. Give it a name, choose an access level, then copy the key — it starts with
leadey_sk_live_ and is shown only once.Read only is the default and is all you need for this guide. Choose Read and write when the integration also needs to create leads, log calls, or manage tasks — see Writing data.Store it somewhere safe. It carries the access of your workspace, so never commit it to source control or expose it in client-side code. If a key leaks, revoke it from the same screen.2
Authenticate
Every request authenticates with your key as a Bearer token in the Confirm it works by reading your organization:A
Authorization header.200 response returns your organization, plan, and credit balance:3
List your leads
Now fetch a page of leads. Responses are paginated — pass The response is a
page and pageSize (max 100).data array plus a meta object describing the page:Next steps
Explore the API
Browse every endpoint and try requests in the playground.
Authentication
Key formats, rotation, and security.
Writing data
Create leads, add notes, and log calls.
Pagination
Page through large result sets.
Errors
Status codes and the error shape.
Need help? Reach the team at support@leadey.ai, or manage keys and credits anytime in the dashboard.