All requests to the Starleads API must include a valid API key in the X-Api-Key header.
API keys are secrets shared only between you and Starleads. Never expose them in client-side code, public repositories, or share them with anyone.
Get your API key
Open API Access
In the sidebar, navigate to Configuration → API Access. Copy your API key
Copy the API key displayed on the page. You’ll need it for every request.
Using your API key
Include the X-Api-Key header in every request:
curl -X GET https://api.starleads.co/Campaign \
-H "X-Api-Key: YOUR_API_KEY"
You’re all set! Head over to the
API Reference to explore the available endpoints.