Lead Export

Retrieve a list of leads captured by the autonomous conversion engine on your website.

Endpoint

GET https://api.hatrio.ai/api/v1/leads

Query Parameters

ParameterTypeDescription
website_iduuidRequired. The platform to fetch leads for.
periodstringOptional. Filter by time period. Must be day, week, or month.

Example Response

{
  "success": true,
  "count": 1,
  "leads": [
    {
      "id": "lead_1",
      "email": "potential@client.com",
      "name": "Sarah Miller",
      "captured_at": "2026-05-15T12:00:00Z"
    }
  ]
}