$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "reviews": [
< {
< "reviewId": "ex-101",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-03T10:00:00.000",
< "ratingOverall": 4,
< "pros": "Fair pay and flexible hours.",
< "cons": "Promotions are slow."
< },
< {
< "reviewId": "ex-102",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-09T10:00:00.000",
< "ratingOverall": 4,
< "pros": "Supportive manager, good benefits.",
< "cons": "Too many meetings."
< },
< {
< "reviewId": "ex-103",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-14T10:00:00.000",
< "ratingOverall": 5,
< "pros": "Remote friendly, smart colleagues.",
< "cons": "Career growth could be faster."
< },
< {
< "reviewId": "ex-104",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-20T10:00:00.000",
< "ratingOverall": 3,
< "pros": "Good benefits.",
< "cons": "Pay is below market."
< },
< {
< "reviewId": "ex-105",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-25T10:00:00.000",
< "ratingOverall": 4,
< "pros": "Great culture.",
< "cons": "Some processes are slow."
< },
< {
< "reviewId": "ex-106",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-08-29T10:00:00.000",
< "ratingOverall": 4,
< "pros": "Flexible schedule.",
< "cons": "Not much training."
< },
< {
< "reviewId": "ex-107",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-02T10:00:00.000",
< "ratingOverall": 2,
< "pros": "Colleagues are still great.",
< "cons": "Layoffs this month and nobody knows who is next."
< },
< {
< "reviewId": "ex-108",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-08T10:00:00.000",
< "ratingOverall": 2,
< "pros": "Benefits are fine.",
< "cons": "After the reorg the workload doubled and there is no job security."
< },
< {
< "reviewId": "ex-109",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-12T10:00:00.000",
< "ratingOverall": 3,
< "pros": "Smart colleagues.",
< "cons": "Return to office mandate with two weeks notice."
< },
< {
< "reviewId": "ex-110",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-17T10:00:00.000",
< "ratingOverall": 2,
< "pros": "Free snacks.",
< "cons": "More layoffs announced and management does not communicate."
< },
< {
< "reviewId": "ex-111",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-22T10:00:00.000",
< "ratingOverall": 3,
< "pros": "Good pay.",
< "cons": "Stress is high since the layoffs."
< },
< {
< "reviewId": "ex-112",
< "employer": {
< "shortName": "Northwind Labs (example)"
< },
< "reviewDateTime": "2026-09-27T10:00:00.000",
< "ratingOverall": 2,
< "pros": "Nice office.",
< "cons": "Leadership has no clear direction."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/ntriqpro~glassdoor-reviews-change-insights/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'