$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sources": [
< {
< "publisher": "GlobeNewswire — keyword: expansion",
< "url": "https://www.globenewswire.com/RssFeed/keyword/expansion/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — keyword: new facility",
< "url": "https://www.globenewswire.com/RssFeed/keyword/new%20facility/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — keyword: headquarters",
< "url": "https://www.globenewswire.com/RssFeed/keyword/headquarters/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — keyword: opening",
< "url": "https://www.globenewswire.com/RssFeed/keyword/opening/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — keyword: new office",
< "url": "https://www.globenewswire.com/RssFeed/keyword/new%20office/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — keyword: expands",
< "url": "https://www.globenewswire.com/RssFeed/keyword/expands/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Company Announcement",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/9-x/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Business Contracts",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/7-x/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Other News",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/28-x/feedTitle/GlobeNewswire",
< "format": "rss"
< }
< ],
< "skipPreviouslyDelivered": true,
< "historyId": "default",
< "maxAgeDays": 30
<}
<EOF
$curl "https://api.apify.com/v2/actors/nexgenwatch~company-expansion-alerts/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'