$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "noticeId": "W1",
< "company": "Acme",
< "employeesAffected": 400,
< "state": "CA",
< "noticeDate": "2026-08-01"
< },
< {
< "noticeId": "W2",
< "company": "Acme",
< "employeesAffected": 250,
< "state": "TX",
< "noticeDate": "2026-08-15"
< },
< {
< "noticeId": "W3",
< "company": "Beta",
< "employeesAffected": 100,
< "state": "NY",
< "noticeDate": "2026-08-10"
< }
< ],
< "previousItems": [
< {
< "noticeId": "P1",
< "company": "Acme",
< "employeesAffected": 150,
< "state": "CA",
< "noticeDate": "2026-05-01"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~warn-layoff-distress-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'