{ "business": { "name": "THANOS BARBERSHOP ANTIKYRA", "phone": "2267043385", "address": "Ποσειδώνος 82, Antikyra, Greece, 320 03", "latitude": "38.37701789301559", "longitude": "22.63259159659441", "url": "https://thanosbarbershop.datelly.gr", "currency": "EUR" }, "businessHours": [ { "day": "Monday", "open": false, "from": "01:00", "to": "23:58" }, { "day": "Tuesday", "open": true, "from": "08:00", "to": "21:00" }, { "day": "Wednesday", "open": true, "from": "08:00", "to": "21:00" }, { "day": "Thursday", "open": true, "from": "08:00", "to": "21:00" }, { "day": "Friday", "open": true, "from": "08:00", "to": "21:00" }, { "day": "Saturday", "open": true, "from": "09:00", "to": "17:00" }, { "day": "Sunday", "open": false, "from": "01:00", "to": "23:58" } ], "services": [ { "id": 1, "name": "MENS HAIRCUT +BEARD GROOMING", "nameEn": "MENS HAIRCUT +BEARD GROOMING", "category": "Men", "categoryId": 1, "type": "incall", "price": 19, "durationMin": 45, "description": "" }, { "id": 2, "name": "MENS /KIDS HAIRCUT", "nameEn": "MENS /KIDS HAIRCUT", "category": "Men", "categoryId": 1, "type": "incall", "price": 14, "durationMin": 30, "description": "" }, { "id": 3, "name": "PREMIUM HAIRCUT", "nameEn": "PREMIUM HAIRCUT", "category": "Men", "categoryId": 1, "type": "incall", "price": 25, "durationMin": 90, "description": "" }, { "id": 4, "name": "BEARD GROOMING", "nameEn": "BEARD GROOMING", "category": "Men", "categoryId": 1, "type": "incall", "price": 7, "durationMin": 15, "description": "" }, { "id": 5, "name": "SOS HAIRCUT {ΚΑΛΕΣΤΕ ΜΑΣ}", "nameEn": "SOS HAIRCUT {ΚΑΛΕΣΤΕ ΜΑΣ}", "category": "Men", "categoryId": 1, "type": "incall", "price": 20, "durationMin": 720, "description": "ΚΑΛΕΣΤΕ ΜΑΣ ΣΧΕΤΙΚΑ ΓΙΑ ΤΗΝ ΩΡΑ ΚΑΙ ΜΕΡΑ 6980327154" } ], "categories": [ { "id": 1, "name": "Men" } ], "workers": [ { "id": 1, "name": "Θανος", "nameEn": "Thanos", "incall": true, "outcall": false }, { "id": 2, "name": "Χριστίνα", "nameEn": "Christina", "incall": true, "outcall": false } ], "workerSchedules": [ { "workerId": 1, "workerName": "Thanos", "schedule": [ { "day": "Tuesday", "open": false, "from": "08:00:00", "to": "10:30:00" }, { "day": "Tuesday", "open": false, "from": "11:00:00", "to": "21:00:00" }, { "day": "Tuesday", "open": true, "from": "09:00:00", "to": "10:30:00" }, { "day": "Tuesday", "open": true, "from": "11:00:00", "to": "13:30:00" }, { "day": "Tuesday", "open": true, "from": "14:00:00", "to": "16:00:00" }, { "day": "Tuesday", "open": false, "from": "16:30:00", "to": "18:30:00" }, { "day": "Tuesday", "open": true, "from": "16:30:00", "to": "18:30:00" }, { "day": "Wednesday", "open": false, "from": "12:00:00", "to": "16:00:00" }, { "day": "Wednesday", "open": false, "from": "16:30:00", "to": "21:00:00" }, { "day": "Wednesday", "open": false, "from": "08:00:00", "to": "21:00:00" }, { "day": "Wednesday", "open": true, "from": "09:00:00", "to": "10:30:00" }, { "day": "Wednesday", "open": true, "from": "11:00:00", "to": "13:30:00" }, { "day": "Wednesday", "open": true, "from": "14:00:00", "to": "16:00:00" }, { "day": "Wednesday", "open": true, "from": "16:30:00", "to": "18:30:00" }, { "day": "Thursday", "open": false, "from": "08:00:00", "to": "21:00:00" }, { "day": "Thursday", "open": false, "from": "08:00:00", "to": "10:00:00" }, { "day": "Thursday", "open": false, "from": "10:30:00", "to": "12:00:00" }, { "day": "Thursday", "open": true, "from": "09:00:00", "to": "10:30:00" }, { "day": "Thursday", "open": true, "from": "11:00:00", "to": "13:30:00" }, { "day": "Thursday", "open": true, "from": "14:00:00", "to": "16:00:00" }, { "day": "Thursday", "open": true, "from": "16:30:00", "to": "18:30:00" }, { "day": "Friday", "open": true, "from": "09:00:00", "to": "10:30:00" }, { "day": "Friday", "open": true, "from": "11:00:00", "to": "13:30:00" }, { "day": "Friday", "open": true, "from": "14:00:00", "to": "16:00:00" }, { "day": "Friday", "open": true, "from": "16:30:00", "to": "18:30:00" }, { "day": "Saturday", "open": false, "from": "08:00:00", "to": "10:00:00" }, { "day": "Saturday", "open": false, "from": "10:30:00", "to": "12:00:00" }, { "day": "Saturday", "open": false, "from": "12:30:00", "to": "14:30:00" }, { "day": "Saturday", "open": false, "from": "15:00:00", "to": "17:00:00" } ] }, { "workerId": 2, "workerName": "Christina", "schedule": [ { "day": "Tuesday", "open": true, "from": "12:00:00", "to": "16:00:00" }, { "day": "Tuesday", "open": true, "from": "17:00:00", "to": "21:00:00" }, { "day": "Wednesday", "open": true, "from": "12:00:00", "to": "16:00:00" }, { "day": "Wednesday", "open": true, "from": "17:00:00", "to": "21:00:00" }, { "day": "Thursday", "open": true, "from": "12:00:00", "to": "16:00:00" }, { "day": "Thursday", "open": true, "from": "17:00:00", "to": "21:00:00" }, { "day": "Friday", "open": true, "from": "12:00:00", "to": "16:00:00" }, { "day": "Friday", "open": true, "from": "17:00:00", "to": "21:00:00" }, { "day": "Saturday", "open": false, "from": "09:00:00", "to": "11:00:00" }, { "day": "Saturday", "open": false, "from": "12:00:00", "to": "17:00:00" }, { "day": "Saturday", "open": true, "from": "09:00:00", "to": "12:00:00" }, { "day": "Saturday", "open": true, "from": "12:30:00", "to": "17:00:00" } ] } ], "booking": { "deepLinkFormat": "https://thanosbarbershop.datelly.gr/?services={serviceIds}&worker={workerId}&date={YYYY-MM-DD}&time={HH:MM}&name={customerName}&phone={customerPhone}&email={customerEmail}&autobook=1&autobook_token={token}", "autobook_token": "eyJleHAiOjE3ODMwNDIwNTUsInN1YiI6InRoYW5vc2JhcmJlcnNob3AiLCJub25jZSI6ImFjYWY4MDYwYmNjNTkwZWYiLCJpYXQiOjE3ODMwNDExNTV9.aff484b68c6953d33594baf6896d125f6e8c5c7e17dbb1c63e3072e3eb15bb17", "autobook_token_expires_in": "15 minutes", "parameters": [ { "name": "services", "required": true, "description": "Comma-separated list of service IDs to book. Use the \"id\" field from the services array.", "example": "1,2,3" }, { "name": "worker", "required": false, "description": "Worker/professional ID. If omitted, the first available worker is auto-selected.", "example": "1" }, { "name": "date", "required": false, "description": "Appointment date in YYYY-MM-DD format. Must be today or a future date when the business is open.", "example": "2026-07-04" }, { "name": "time", "required": false, "description": "Desired start time in HH:MM (24-hour) format. Must match an available slot on the selected date.", "example": "10:00" }, { "name": "name", "required": false, "description": "Customer full name (first and last). Auto-fills the booking form.", "example": "John Doe" }, { "name": "phone", "required": false, "description": "Customer phone number (10 digits, no country code prefix).", "example": "6900000000" }, { "name": "email", "required": false, "description": "Customer email address. Auto-fills the booking form.", "example": "john@example.com" }, { "name": "autobook", "required": false, "description": "Set to \"1\" to automatically accept terms and submit the booking. MUST be paired with a valid autobook_token.", "example": "1" }, { "name": "autobook_token", "required": false, "description": "HMAC-signed security token required for autobook. Get a fresh token from this endpoint (booking.autobook_token). Tokens expire after 15 minutes. Without a valid token, autobook will be ignored and the user must manually confirm.", "example": "<use the autobook_token value from this response>" } ], "notes": [ "If a requested service, worker, date, or time is unavailable, the user is shown a warning and can choose an alternative.", "All parameters except \"services\" are optional. If only services are provided, the user starts at the date/time selection step.", "If date and time are both provided, the system auto-navigates to the booking confirmation step.", "Times use 24-hour format (e.g., 14:30 for 2:30 PM).", "IMPORTANT: To use autobook=1, you MUST first fetch this endpoint to get a fresh autobook_token. The token expires in 15 minutes.", "For AI agents: 1) Fetch this endpoint, 2) Get the autobook_token from the response, 3) Include both autobook=1 and autobook_token={token} in the deep-link URL.", "Rate limiting: Max 5 bookings per IP per hour and 3 per phone per day. Duplicate appointments at the same date/time are rejected.", "A hidden honeypot field protects against simple bots. Legitimate AI agents and users are not affected." ] }
}