Appointment & tools API for Royal Vet Miami Beach — powering the AI voice agent.
POST /mcp — MCP tool call handler (requires Bearer token)POST /retell-webhook — Retell AI inbound call webhookPOST /twilio-sms — Twilio inbound SMS handlerlookUpCustomerByPhone — Find customer by phone numbergetCustomerContext — Get full customer & appointment contextsaveCustomer — Save or update customer recordfindNextAvailableSlots — Find open appointment slotsbookAppointment — Book a new appointmentrescheduleAppointment — Reschedule existing appointmentcancelAppointment — Cancel an appointmentscheduleAppointment — Schedule appointment (combined flow)submitRefillRequest — Submit a prescription refill requesttransferCall — Transfer call to staffendCall — End the call gracefullysetLanguagePreference — Save caller language (english/spanish) for future callsGET /debug/customer/:phone — Look up customer recordGET /debug/live-call-phone/:callId — Get live call phoneGET /debug/session/:callId — Get call session dataGET /health — Health check