$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "sourceMode": "inline",
< "records": [
< {
< "id": "demo-1",
< "ownerUsername": "samplecreator",
< "ownerFullName": "Sample Creator",
< "caption": "Paid partnership with @northstar. Save 20% when you use code STAR20. Shop now: https://shop.example/products?aff=samplecreator",
< "url": "https://www.instagram.com/p/DEMO123/",
< "timestamp": "2026-08-20T10:00:00Z",
< "likesCount": 4200,
< "commentsCount": 180,
< "isPaidPartnership": true,
< "paidPartnershipPartners": [
< "northstar"
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/scalogik~instagram-sponsorship-promo-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'