$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "companyId": "CMP1",
< "company": "Acme Cloud",
< "department": "Engineering",
< "headcount": 115,
< "category": "growth",
< "date": "2026-10-12"
< },
< {
< "companyId": "CMP2",
< "company": "Beta Systems",
< "department": "Sales",
< "headcount": 78,
< "category": "growth",
< "date": "2026-10-12"
< },
< {
< "companyId": "CMP3",
< "company": "Gamma Labs",
< "department": "R&D",
< "headcount": 41,
< "category": "stable",
< "date": "2026-10-12"
< }
< ],
< "previousItems": [
< {
< "companyId": "CMP1",
< "company": "Acme Cloud",
< "department": "Engineering",
< "headcount": 105,
< "category": "growth",
< "date": "2026-10-05"
< },
< {
< "companyId": "CMP2",
< "company": "Beta Systems",
< "department": "Sales",
< "headcount": 85,
< "category": "decline",
< "date": "2026-10-05"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~linkedin-company-workforce-snapshot-analyzer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'