Anvesh
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.

GET
/automation/export

Header Parameters

X-API-Key*string

Response Body

application/json

curl -X GET "http://localhost:8000/automation/export" \  -H "X-API-Key: string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}