Home / API
Booking API
Everything the booking page can do, as JSON. Create a key under Settings in your booking desk and send it as a Bearer token. Times are local to the business timezone.
Services and staff
GET https://aioffice.pixetura.com/api/booking/slots.php?business=<slug>
Public. Lists bookable services with duration and price, and active staff.
Free slots for a day
GET https://aioffice.pixetura.com/api/booking/slots.php?business=<slug>&service=<id>&day=YYYY-MM-DD&staff=<id or 0>
Public. Returns time, label and the staff member who would take it. Add from=YYYY-MM-DD&days=14 for a count of open slots per day.
Book
POST https://aioffice.pixetura.com/api/booking/appointments.php
Authorization: Bearer aio_...
{"service_id": 12, "start": "2026-09-10 14:30", "name": "Ana Lopez", "phone": "+15551234567", "notes": "first visit", "source": "phone"}
Returns the booking with a manage_url for the customer. 409 with alternatives if the slot went.
Look up a caller
GET https://aioffice.pixetura.com/api/booking/appointments.php?lookup=1&phone=+15551234567
Upcoming bookings for that number. What an AI phone agent asks before "when is my appointment".
Change status
POST https://aioffice.pixetura.com/api/booking/appointments.php?id=<id>&action=cancel|confirm|no_show|completed
Cancelling offers the slot to the waitlist and stops reminders.
A day of bookings
GET https://aioffice.pixetura.com/api/booking/appointments.php?day=YYYY-MM-DD
Everything on that day with customer, staff and status.
Calendar feed
GET https://aioffice.pixetura.com/api/booking/ics.php?staff=<id>
iCalendar feed of the business or one staff member, for Google Calendar or Outlook subscription. Bearer key.
Limits
Public slot reads: 300 an hour per address. Key calls: 600 an hour per address. Every booking is logged with source "api", "phone" or "chat" and shows in reports.