$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "url": "https://example.com/help/returns",
< "title": "Returns and refunds",
< "markdown": "# Returns and refunds\n\n## How long do I have to return an item?\n\nYou can return unused items within 30 days of delivery. Start a return from the Orders page in your account and print the prepaid label.\n\n## When will I get my refund?\n\nRefunds are sent to the original payment method within 5 business days after the warehouse receives the item. Shipping fees are refunded only if the item arrived damaged.\n\n## Can I exchange an item instead?\n\nYes. Choose Exchange instead of Refund when you start the return and pick the new size or colour. Exchanges ship free of charge."
< },
< {
< "url": "https://example.com/help/shipping",
< "title": "Shipping",
< "markdown": "# Shipping\n\n## Where do you ship?\n\nWe ship to the EU, the UK and the United States. Orders over 50 EUR ship free; smaller orders cost 4.90 EUR.\n\n## How fast is delivery?\n\nStandard delivery takes 2 to 4 business days in the EU and 5 to 8 business days to the UK and the US. Express delivery arrives the next business day in Germany and Austria when ordered before 2 pm.\n\n## How do I track my order?\n\nYou get a tracking link by email as soon as the parcel leaves the warehouse. The same link is shown on the Orders page."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/seasons-ai~site-to-knowledge-pack/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'