API ReferenceAutomation
Export leads to CSV
Export all scraped leads from the database to a downloadable CSV file. The CSV includes all lead data: business name, address, phone, website, etc.
curl -X GET "http://localhost:8000/automation/export" \ -H "X-API-Key: string"Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}