Slots are time windows that barbers open in their calendar so clients can browse and reserve them. Each slot carries a date, start time, optional end time, and a status that tracks whether it is still available. Clients see all open slots across all barbers; a barber filtering by their ownDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/JulietaEM/EdgeTimer/llms.txt
Use this file to discover all available pages before exploring further.
profileId sees only the slots they own.
Clients receive all available slots when no
profileId is supplied. Barbers should always pass their own profileId to scope results to their own schedule.GET /slots
Retrieve a list of availability slots. PassprofileId to filter by a specific barber.
Query parameters
Barber profile ID. When provided, only slots belonging to this barber are returned.
Response
Returns an array ofSlotDisponible objects.
Unique slot identifier.
Barber who owns the slot.
ISO 8601 datetime of the slot start.
ISO 8601 datetime of the slot end.
Date of the slot in
YYYY-MM-DD format.Start time in
HH:MM format.End time in
HH:MM format.Slot status. Common values:
disponible, reservado, cancelado.Response
POST /slots
Create a new availability slot. This action is intended for barbers only.Body parameters
Barber profile ID. The slot is created under this barber’s calendar.
Date for the slot in
YYYY-MM-DD format.Start time in
HH:MM format (24-hour clock).Optional. The slot’s actual end time is always set to 15 minutes after
horaInicio by the server regardless of this value. The appointment end time is determined later when a client selects procedures.Response
Returns the newly created slot object with the same shape as theGET /slots response items.
Response
PATCH /slots/:id
Update an existing slot. Use this to change the date or times of a slot that has not yet been reserved.Path parameters
Unique identifier of the slot to update.
Body parameters
Barber profile ID. Must match the owner of the slot.
New date for the slot in
YYYY-MM-DD format.New start time in
HH:MM format (24-hour clock).Optional. The server recalculates the end time as 15 minutes after the new
horaInicio regardless of this value.Response
Returns the updated slot object.Response
DELETE /slots/:id
Delete a slot. TheprofileId query parameter is required and must match the barber who owns the slot, preventing one barber from deleting another barber’s slots.
Path parameters
Unique identifier of the slot to delete.
Query parameters
Barber profile ID. Must match the owner of the slot.
Response
Returns a confirmation object for the deleted slot.Response