$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "profileScraperMode": "Full",
< "searchQuery": "Marketing Manager",
< "jobTitles": [],
< "pastJobTitles": [],
< "locations": [],
< "currentCompanies": [],
< "pastCompanies": [],
< "schools": [],
< "industryIds": [],
< "yearsOfExperience": [],
< "yearsAtCurrentCompany": [],
< "startPage": 1,
< "takePages": 1,
< "maxItems": 0,
< "automaticQuerySegmentationLevels": [
< "Countries",
< "State/Region"
< ],
< "targetCountries": [],
< "mongoDbConnectionString": "",
< "postFilteringMongoDbQuery": {},
< "queries": [],
< "urls": [],
< "publicIdentifiers": [],
< "profileIds": []
<}
<EOF
$curl "https://api.apify.com/v2/acts/scrapeai~linkedin-profile-search/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'