$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "postUrls": [
< "https://www.linkedin.com/posts/retentionadam_koala-shut-down-and-unify-raised-40m-at-activity-7354228611756810240-qVxd",
< "https://www.linkedin.com/posts/alex-vacca_all-in-on-prospecting-tools-ugcPost-7354111374249123840-Ip5i"
< ],
< "cookies": "[{\"name\":\"li_at\",\"value\":\"YOUR_LI_AT_VALUE\"},{\"name\":\"JSESSIONID\",\"value\":\"YOUR_JSESSIONID_VALUE\"},{\"name\":\"bcookie\",\"value\":\"YOUR_BCOOKIE_VALUE\"}]",
< "proxyConfiguration": {
< "useApifyProxy": false,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/capable_cauldron~linkedin-comment-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'