Bookafy MCP by usefulapi

v1.12.1
io.usefulapi/bookafy Checked 2 days ago Published 1 day ago

Review appointments, customers and staff, and manage Bookafy bookings.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bookafy_get_account Get account

The account this API key belongs to: the admin user's email. Use it to confirm which Bookafy account is connected. GET /api/v3/me.

bookafy_list_appointments List appointments

List the appointments of ONE staff member (identified by their email: take it from bookafy_list_staff), newest first, optionally within a UTC date range. Each item has the service, customer, start/end time (UTC), title, price, duration and status. Page with page/per_page (default 25). Cancel/reschedule tokens are never returned. GET /api/v3/appointments.

ParameterTypeDescription
staff_email *stringEmail of the staff user whose appointments to list (from bookafy_list_staff).
fromstringOnly appointments starting at or after this moment: yyyy-mm-dd (midnight UTC) or ISO 8601 date-time with timezone.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25).
tostringOnly appointments ending before this moment: yyyy-mm-dd (midnight UTC) or ISO 8601 date-time with timezone.

bookafy_create_appointment Create appointment

WRITE: book an appointment for a customer with a staff member and service (ids from bookafy_list_staff and bookafy_list_services). The customer is created from the given name/email/phone. Bookafy may email the booking confirmation to the customer and add the event to connected calendars, so only call it when the user clearly asked to book. Times are converted to UTC. POST /api/v3/appointments.

ParameterTypeDescription
customer_name *stringCustomer's full name.
end *stringEnd, ISO 8601 date-time with timezone (after start, at most 24 h later).
service_id *integerService id assigned to that staff user (from bookafy_list_services).
staff_user_id *integerStaff user id (from bookafy_list_staff).
start *stringStart, ISO 8601 date-time with timezone, e.g. 2026-11-02T09:30:00-05:00.
custom_fieldsobjectCustom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}.
customer_emailstringCustomer's email (the confirmation goes there).
customer_phonestringCustomer's phone number.
descriptionstringNotes shown with the appointment.
pricenumberPrice of the appointment (default: the service's price).
titlestringTitle shown for the appointment (default: Bookafy's own).

bookafy_update_appointment Update appointment

WRITE: reschedule or edit an existing appointment. Send the required staff, service, new times and customer name — read current values with bookafy_list_appointments first. Omitted optional fields are not sent. The customer may be notified of the change. Times are converted to UTC. PUT /api/v3/appointments/{id}.

ParameterTypeDescription
appointment_id *integerAppointment id (from bookafy_list_appointments).
customer_name *stringCustomer's full name.
end *stringNew end, ISO 8601 date-time with timezone (after start, at most 24 h later).
service_id *integerService id.
staff_user_id *integerStaff user the appointment is with.
start *stringNew start, ISO 8601 date-time with timezone.
custom_fieldsobjectCustom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}.
customer_emailstringCustomer's email.
customer_phonestringCustomer's phone number.
descriptionstringNotes shown with the appointment.
pricenumberPrice of the appointment.
titlestringAppointment title.

bookafy_cancel_appointment Cancel appointment

WRITE, IRREVERSIBLE: delete (cancel) an appointment. Bookafy may notify the customer and remove the event from connected calendars, and the appointment cannot be restored through the API. Only call it when the user explicitly asked to cancel this appointment. DELETE /api/v3/appointments/{id}.

ParameterTypeDescription
appointment_id *integerAppointment id (from bookafy_list_appointments).
staff_user_id *integerStaff user the appointment is with (its user_id).

bookafy_list_customers List customers

List the account's customers (id, name, email, phone and custom booking-form answers). Bookafy returns the whole list at once; use `search` (matches name, email or phone) and `limit`/`offset` to page through it. GET /api/v3/customers.

ParameterTypeDescription
limitintegerMost customers to return, 1-500 (default 100).
offsetintegerSkip this many matches (default 0). Pass the previous reply's next_offset to read on.
searchstringOnly customers whose name, email or phone contains this text (case-insensitive).

bookafy_create_customer Create customer

WRITE: add a customer record (name required; email, phone and custom booking-form answers optional). It does not book anything. POST /api/v3/customers.

ParameterTypeDescription
name *stringCustomer's full name.
custom_fieldsobjectCustom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}.
emailstringCustomer's email.
phonestringCustomer's phone number.

bookafy_update_customer Update customer

WRITE: change a customer's details. Bookafy needs the name every time, so pass the current name when you only change the email or phone. Fields you leave out are not sent. PUT /api/v3/customers/{id}.

ParameterTypeDescription
customer_id *integerCustomer id (from bookafy_list_customers).
name *stringCustomer's full name (required by Bookafy on every update).
custom_fieldsobjectCustom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}.
emailstringNew email.
phonestringNew phone number.

bookafy_list_services List services

List every service (appointment type) with id, name, price, duration, buffers, category, scheduling mode and online-meeting options. Use the ids when booking. GET /api/v3/services.

bookafy_list_appointment_types List appointment types with booking links

The appointment types grouped by category, each with its public booking-page link — use it to give a customer the link to book themselves. GET /api/v3/appointment_types.

bookafy_list_staff List staff

List the staff users (id, name, email, booking-page URL). Use the id or email for appointments. GET /api/v3/staff_members.

bookafy_list_classes List classes

List classes and one-off appointments with price, duration, location, seats, booking link and their sessions (date, seats total/filled/remaining, zoom link). GET /api/v3/classes.

bookafy_get_class Get class with sessions and attendees

One class with its sessions and the attendees booked on each (name, email, phone, booking time). Optional filters narrow the sessions. GET /api/v3/classes/{id}.

ParameterTypeDescription
class_id *integerClass id (from bookafy_list_classes).
attendee_namestringOnly sessions with an attendee of this name.
durationintegerOnly sessions of this length in minutes.
fromstringOnly sessions starting at or after this moment (yyyy-mm-dd or ISO 8601 date-time with timezone).
pricenumberOnly sessions with this price.
provider_namestringOnly sessions run by this provider.
tostringOnly sessions ending before this moment (yyyy-mm-dd or ISO 8601 date-time with timezone).

bookafy_list_session_attendees List session attendees

The attendees of one class session (name, email, phone). Get session ids from bookafy_list_classes. GET /api/v3/sessions.

ParameterTypeDescription
session_id *integerSession id (sessionId in bookafy_list_classes).

bookafy_list_webhooks List webhook subscriptions

List the webhook subscriptions (id, callback URL, event type such as appointment_created or customer_updated). Read-only. GET /api/v3/api_subscriptions.