$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sources": [
< {
< "publisher": "PR Newswire — Acquisitions, Mergers and Takeovers",
< "url": "https://www.prnewswire.com/rss/financial-services-latest-news/acquisitions-mergers-and-takeovers-list.rss",
< "format": "rss"
< },
< {
< "publisher": "Newswire.ca — Acquisitions, Mergers and Takeovers",
< "url": "https://www.newswire.ca/rss/financial-services-latest-news/acquisitions-mergers-and-takeovers-list.rss",
< "format": "rss"
< },
< {
< "publisher": "PR Newswire — Real Estate Transactions",
< "url": "https://www.prnewswire.com/rss/general-business-latest-news/real-estate-transactions-list.rss",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Mergers and Acquisitions",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/27-x/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Joint Venture",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/23-x/feedTitle/GlobeNewswire",
< "format": "rss"
< },
< {
< "publisher": "GlobeNewswire — Restructuring / Recapitalization",
< "url": "https://www.globenewswire.com/RssFeed/subjectcode/37-x/feedTitle/GlobeNewswire",
< "format": "rss"
< }
< ],
< "maxRecords": 10,
< "skipPreviouslyDelivered": true,
< "historyId": "default",
< "maxAgeDays": 30
<}
<EOF
$curl "https://api.apify.com/v2/actors/nexgenwatch~merger-acquisition-alerts/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'