$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "employer_criteria": {
< "role": "ESL Teacher (Elementary)",
< "location": "Seoul",
< "max_salary_krw": 3000000,
< "must_haves": [
< "native or near-native English",
< "in Korea or 30 days"
< ]
< },
< "candidate_answers": {
< "name": "John Doe",
< "current_location": "Seoul",
< "visa_status": "E-2",
< "years_experience": 3,
< "age_groups_taught": "elementary, middle school",
< "why_teaching": "I love helping children learn and grow",
< "enjoy_about_teaching": "Seeing students progress and gain confidence",
< "teaching_challenges": "Managing different learning styles - I adapt my approach",
< "education_background": "Bachelor's in Education, TESOL certified",
< "previous_locations": "Korea, China",
< "availability": "Immediate",
< "salary_expectation_krw": 2800000,
< "sample_intro": "I use interactive games and activities to make learning fun",
< "spoken_intro_transcript": "Hello, my name is John and I have three years of experience teaching English to elementary students.",
< "spoken_intro_audio_base64": ""
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/seoulcommerce~ai-candidate-screener/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'