Skip to main content
Use these read-only requests to check authentication and retrieve visitor data. You need an organization API key from Settings > API Keys and curl on your computer or server. Set LEADPIPE_API_KEY in your local environment or secret manager before running the examples.

Check account status

A successful response contains data.healthy, organization status, credits, pixels, and intent access. Check these values before diagnosing missing visitor data. See Account status for the response schema.

Retrieve visitors

A successful list request returns visitor records in data and pagination information in meta. An empty list can mean there is no identified activity in the selected scope. Check the pixel and date range before treating it as an authentication problem. For one site, pass pixelId or domain; do not combine them. Get pixel IDs from List pixels.

Continue your integration

Keep the API key in your backend. The pixel snippet runs in the browser and does not contain an API key.