$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "businessName": "TechCorp Inc",
< "businessDescription": "TechCorp Inc is a leading technology company specializing in innovative software solutions for small and medium businesses since 2010.",
< "pressReleaseCategory": "product launch",
< "subjectPressRelease": "Launch of our new AI-powered project management software that helps teams increase productivity by 40%",
< "keyFeatures": "AI-powered task automation, Real-time collaboration, Advanced analytics dashboard, 40% productivity increase, Integration with 50+ popular tools",
< "people": "John Smith, CEO of TechCorp Inc",
< "businessUrl": "https://www.techcorpexampleinc.com/",
< "location": "San Francisco, CA",
< "date": "January 15, 2025",
< "tone": "professional",
< "language": "English"
<}
<EOF
$curl "https://api.apify.com/v2/acts/onescales~press-release-ai-writer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'