$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "offers": [
< {
< "id": "EXAMPLE-TRIAL",
< "title": "Example streaming free trial",
< "offerText": "Start your free trial today! Cancel anytime."
< },
< {
< "id": "EXAMPLE-GYM",
< "title": "Example gym membership",
< "offerText": "Membership $39.99/month, renews automatically until you cancel. To cancel, call our member services line or send a letter to your club."
< },
< {
< "id": "EXAMPLE-INTRO",
< "title": "Example meal kit intro offer",
< "offerText": "Introductory price $1 for the first 3 months! Renews automatically monthly until you cancel. Cancel online in your account.",
< "consentPrechecked": true
< },
< {
< "id": "EXAMPLE-APP",
< "title": "Example app subscription",
< "offerText": "Start your 7-day free trial. After the trial, you'll be charged $9.99 per month. Your subscription renews automatically every month until you cancel. Cancel anytime online in Account settings; cancellation takes effect at the end of the current billing period.",
< "consentText": "I agree to the automatic renewal terms above."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/ultimatemc~auto-renewal-disclosure-checker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'