$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "schemaVersion": "1.1",
< "left": [
< {
< "signalId": "sig-acme-recall-002",
< "brandName": "Acme Labs",
< "eventType": "risk",
< "severity": "critical",
< "status": "active",
< "observedAt": "2026-08-04T13:00:00Z",
< "sourceUrl": "https://alerts.example.com/acme-recall"
< },
< {
< "signalId": "sig-nike-launch-001",
< "brandName": "Nike",
< "eventType": "product_launch",
< "severity": "high",
< "status": "active",
< "observedAt": "2026-08-04T12:00:00Z",
< "sourceUrl": "https://news.example.com/nike-launch"
< },
< {
< "signalId": "sig-left-only-004",
< "brandName": "Northstar",
< "eventType": "review",
< "severity": "low",
< "status": "resolved",
< "observedAt": "2026-02-28T09:00:00Z",
< "sourceUrl": "https://reviews.example.com/northstar"
< }
< ],
< "right": [
< {
< "signalId": "sig-acme-recall-002",
< "brandName": "Acme Labs",
< "eventType": "risk",
< "severity": "high",
< "status": "active",
< "observedAt": "2026-08-04T13:00:00Z",
< "sourceUrl": "https://alerts.example.com/acme-recall-updated"
< },
< {
< "signalId": "sig-nike-launch-001",
< "brandName": "Nike",
< "eventType": "product_launch",
< "severity": "high",
< "status": "active",
< "observedAt": "2026-08-04T12:00:00Z",
< "sourceUrl": "https://news.example.com/nike-launch"
< },
< {
< "signalId": "sig-right-only-003",
< "brandName": "Contoso",
< "eventType": "price_change",
< "severity": "medium",
< "status": "active",
< "observedAt": "2026-08-04T14:00:00Z",
< "sourceUrl": "https://prices.example.com/contoso"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~us-brand-signal-merge-report/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'