Core SDK
One typed client for bookings, services, availability, and brand data across your stack.
Trimlinea Headless gives barbershops a core SDK and direct API access, so your team can build around your own booking experience instead of a fixed frontend.
Trimlinea handles scheduling, services, availability, and payments, with Vue and React support when you want to move faster.
import { useTrimlinea } from "@trimlinea/headless"; const trimlinea = useTrimlinea({ apiKey: process.env.TRIMLINEA_API_KEY,}); const { timeSlotId } = await trimlinea.availability.first({ barberId: "marcus-hayes", serviceId: "skin-fade", date: "2026-03-12",}); await trimlinea.bookings.create({ barberId: "marcus-hayes", serviceId: "skin-fade", clientId: "daniel-brooks", timeSlotId,});Use Trimlinea as the backend and orchestration layer while your team owns the interface, checkout flow, content model, and customer experience across the frameworks you already use.
One typed client for bookings, services, availability, and brand data across your stack.
Move faster with first-party Vue and React support built on top of the same core SDK and API surface.
Own the layout, booking flow, checkout, and content while Trimlinea handles the backend.
Use the same booking and brand infrastructure behind Trimlinea, with typed requests throughout.
Trimlinea Headless is built for agencies, multi-location barbershops, and in-house teams that need branded flows, deeper product integrations, or a frontend that lives inside an existing app.
Build a branded booking flow or web product that matches your shop instead of sending customers through a generic journey.
Build one frontend across multiple shops, staff teams, or franchise brands while keeping Trimlinea as the booking system underneath.
Ship custom websites and growth experiments for barbershops without recreating availability rules, booking submission, or brand data.
Use one core client across custom web products, kiosks, and internal tools without locking the frontend to one framework, stack, or implementation pattern.
Use first-party Vue and React support when you want to move faster, or work directly with the SDK for a thinner, simpler integration with fewer moving parts.
Focus on experience and conversion while Trimlinea handles bookings, availability, and the core API surface underneath your product.
Return the service details needed to shape your booking flow.
Load live time slots for a barber, service, and date.
Create a booking from your own frontend, checkout, or custom journey.
Power location pickers, multi-shop navigation, and local booking pages.
Fetch brand settings, identity, and configuration for your frontend.
Resolve availability and working hours for richer scheduling experiences.
If you want to build your own consumer app, bespoke booking flow, kiosk, or branded website on top of Trimlinea, email us and we'll help scope the core SDK, framework support, and implementation path.
Contact us