$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "places": [
< {
< "place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
< "title": "Example Coffee House",
< "category": "Coffee shop",
< "categories": [
< "Coffee shop",
< "Cafe"
< ],
< "website": "https://example-coffee.example",
< "phone": "+49 30 12345678",
< "rating": 4.8,
< "review_count": 1240,
< "description": "Specialty coffee roastery, direct-trade beans, natural wines and weekend brunch.",
< "complete_address": {
< "city": "Berlin",
< "country": "Germany",
< "borough": "Sample District"
< }
< },
< {
< "place_id": "ChIJcareHomeSAMPLE12345",
< "title": "Sample Care Foundation",
< "category": "Nursing home",
< "categories": [
< "Nursing home",
< "Senior care service"
< ],
< "phone": "+49 7531 200000",
< "rating": 4.4,
< "review_count": 87,
< "description": "Sample Care Foundation has been caring for seniors for over 20 years across three residential campuses.",
< "complete_address": {
< "city": "Sampletown",
< "country": "Germany"
< }
< },
< {
< "place_id": "ChIJsculptureStudio77",
< "title": "Example Art Studio",
< "category": "Sculptor",
< "website": "https://example-studio.example",
< "rating": 5,
< "review_count": 12,
< "complete_address": {
< "city": "Berlin",
< "country": "Germany"
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/santamaria-automations~ai-icebreaker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'