$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "amazonSubreddits": [
< "amazonemployees",
< "AmazonFC",
< "FASCAmazon",
< "aws"
< ],
< "generalSubreddits": [
< "cscareerquestions",
< "ExperiencedDevs",
< "layoffs",
< "techlayoffs",
< "leetcode"
< ],
< "keywords": [
< "PIP",
< "Focus",
< "Pivot",
< "Performance Coaching",
< "Performance Decision",
< "layoff",
< "laid off",
< "severance",
< "WARN",
< "FMLA",
< "STD",
< "URA",
< "Dev List",
< "rehire",
< "clawback",
< "RTO",
< "interview",
< "loop",
< "SDE",
< "SDE2",
< "LLD",
< "HLD",
< "Bar Raiser",
< "offer",
< "downlevel"
< ],
< "daysBack": 180,
< "maxPostsPerSubreddit": 100,
< "maxPagesPerSubreddit": 10
<}
<EOF
$curl "https://api.apify.com/v2/actors/cashmere_eelpout~reddit-amazon-pip-layoff-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'