$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "records": [
< {
< "title": "ACME PLUMBING LLC",
< "email": "INFO@AcmePlumbing.com",
< "phone": "(512) 555-0134",
< "website": "http://www.acmeplumbing.com/?utm_source=maps",
< "city": "Austin",
< "country": "us"
< },
< {
< "title": "Acme Plumbing",
< "emails": [
< "info@acmeplumbing.com"
< ],
< "website": "acmeplumbing.com",
< "city": "austin"
< },
< {
< "title": "Joe's Pizza",
< "email": "joe@gmial.com",
< "phone": "call us"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/hiredhandai~lead-data-cleaner/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'