$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "contacts": [
< {
< "email": "john@example.com",
< "name": "John Smith",
< "phone": "+1 555 123-4567",
< "company": "Acme Corp"
< },
< {
< "email": "john@example.com",
< "name": "John SMITH",
< "phone": "15551234567",
< "company": "Acme Corp"
< },
< {
< "email": "jane@other.com",
< "name": "Jane Doe",
< "phone": "+1 555 987-6543",
< "company": "Beta Inc"
< },
< {
< "email": "jane@other.com",
< "name": "J. Doe",
< "phone": "15559876543",
< "company": "Beta Inc"
< },
< {
< "email": "bob@company.com",
< "name": "Robert Johnson",
< "phone": "+1 555 111-2222",
< "company": "Gamma LLC"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/enosgb~crm-deduplication-tool/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'