$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sourceDatasetId": "",
< "agencyRecords": [
< {
< "name": "Northstar Studio",
< "websiteUrl": "https://example.com",
< "rating": 4.2,
< "reviews": [
< "The team delivered excellent design work, but weekly communication was sometimes slow.",
< "Strong strategy and quality. The final milestone arrived two weeks late."
< ],
< "sourceReference": "internal-crm-2026-07"
< }
< ],
< "maxAgencies": 25,
< "websiteEnrichment": true,
< "maxWebsitePages": 3,
< "responseFormat": "concise",
< "maxConcurrency": 4
<}
<EOF
$curl "https://api.apify.com/v2/actors/muhammadafzal~analyze-agency-reviews/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'