Skip to content

Export companies to CSV

Request

Queue a CSV export of companies matching the filter.

Security
bearerAuth
Bodyapplication/jsonrequired
filterobjectrequired
Example:
{ "all": true }
POST
/leads/api/file-exports/companies
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/file-exports/companies \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filter": {
      "all": true
    }
  }'

Responses

Export queued.

Bodyapplication/json
uuidstring, (uuid)
typestring
Example:"account_export_csv"
statusstring
Example:"queued"
Response
{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "type": "account_export_csv", "status": "queued" }