$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "reviews": [
< {
< "authorName": "John Smith",
< "authorTitle": "Marketing Director",
< "authorPhotoUrl": "",
< "reviewText": "I couldn’t be happier with the service I received! From start to finish, everything was handled with care and professionalism. The team was always there to answer my questions and made sure I was completely satisfied. It’s rare to find such great customer service these days—highly recommend!",
< "rating": 5
< }
< ],
< "customScraperActorId": "username/actor-name",
< "scraperInput": {},
< "primaryColor": "#667eea",
< "secondaryColor": "#764ba2",
< "textColor": "#000000",
< "starColor": "#FFD700"
<}
<EOF
$curl "https://api.apify.com/v2/acts/happitap~review-to-image-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'