$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "places": [
< {
< "place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
< "cid": "10281019595535971924",
< "title": "Example Restaurant Ltd.",
< "category": "Italian restaurant",
< "categories": [
< "Italian restaurant",
< "Pizza restaurant"
< ],
< "website": "https://example-restaurant.example",
< "phone": "+49 89 12345678",
< "description": "Sample Italian restaurant in Munich, family-owned since 1985.",
< "open_hours": {
< "Monday": "11:00-22:00",
< "Tuesday": "11:00-22:00"
< },
< "review_count": 320,
< "review_rating": 4.5,
< "images": [
< {
< "title": "Interior",
< "image": "https://lh5.googleusercontent.com/p/1.jpg"
< },
< {
< "title": "Dish",
< "image": "https://lh5.googleusercontent.com/p/2.jpg"
< },
< {
< "title": "Menu",
< "image": "https://lh5.googleusercontent.com/p/3.jpg"
< },
< {
< "title": "Storefront",
< "image": "https://lh5.googleusercontent.com/p/4.jpg"
< },
< {
< "title": "Terrace",
< "image": "https://lh5.googleusercontent.com/p/5.jpg"
< }
< ],
< "owner": {
< "id": "123",
< "name": "Example Restaurant Ltd.",
< "link": "https://maps.google.com/owner"
< }
< }
< ],
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/santamaria-automations~gbp-completeness-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'