$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "companies": [
< {
< "id": "microsoft",
< "name": "Microsoft",
< "criticality": "high",
< "owner": "ESG Program Office",
< "peerGroup": "mega-cap-software",
< "tags": [
< "software",
< "scope-3",
< "climate"
< ],
< "disclosurePacks": {
< "sustainability": [
< {
< "id": "msft-sustainability-report",
< "name": "Microsoft Sustainability Report",
< "url": "https://www.microsoft.com/en-us/corporate-responsibility/sustainability/report",
< "includePatterns": [
< "sustainability report",
< "annual report",
< "scope 1",
< "scope 2",
< "scope 3",
< "net zero"
< ],
< "staleAfterDays": 430
< }
< ],
< "sec_filings": [
< {
< "id": "msft-sec-10k",
< "name": "Microsoft SEC climate watch",
< "sourceType": "sec_edgar",
< "cik": "789019",
< "formTypes": [
< "10-K",
< "10-Q",
< "8-K"
< ],
< "staleAfterDays": 430
< }
< ]
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/taroyamada~esg-disclosure-tracker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'