$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "clientsCsv": "client,domain,brand,competitors,questions,keywords\nHelp Scout,helpscout.com,Help Scout,Zendesk | zendesk.com; Freshdesk | freshworks.com; Intercom | intercom.com,What is the best help desk software for a small business?; What is the best customer support tool for a SaaS startup?; What is the most affordable help desk software?,help desk software; shared inbox software\nPipedrive,pipedrive.com,Pipedrive,HubSpot | hubspot.com; Salesforce | salesforce.com; Zoho CRM | Zoho | zoho.com,What is the best CRM for a small sales team?; Which CRM is easiest to set up for a startup?; What is the best CRM for B2B sales pipelines?,sales pipeline software; crm for small business",
< "agencyName": "Northwind Digital",
< "engines": [
< "chatgpt",
< "perplexity",
< "gemini",
< "google_ai_mode"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/wrenfield-data~agency-ai-visibility-reports/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'