$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "maxCompanyAgeDaysPreset": "30",
< "maxCompanyAgeDays": 30,
< "states": [],
< "cities": [],
< "segments": [],
< "cnaes": [],
< "keywords": [],
< "companySizes": [],
< "onlyActive": true,
< "onlyHeadquarters": true,
< "onlyWithPhone": false,
< "onlyWithEmail": false,
< "onlyWithWhatsapp": false,
< "onlyWithWebsite": false,
< "enrichmentMode": "none",
< "whatsappDiscovery": "none",
< "maxResults": 10,
< "discoveryConcurrency": 5,
< "enrichmentConcurrency": 3,
< "debug": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/basta_compilar~brazil-fresh-business-leads/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'