TheDocumentation 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.
reservar flow lets a client book a time slot that a barber has already published as available. Unlike solicitar — where the client proposes an arbitrary time and waits for the barber to accept — reservar works against a specific slot ID from the barber’s schedule and creates a "confirmada" appointment immediately. The slot provides the date and start time; the client only needs to specify which procedures they want and any optional notes.
Base URL
Request
POST /citas/reservar
Body parameters
The profile ID of the client reserving the slot.
The ID of the availability slot to reserve. Obtain available slot IDs from
GET /slots.Array of procedure IDs to include in the appointment. At least one ID is required.
Optional free-text notes for the barber (e.g., style preferences or special instructions).
Response
Returns the newly createdCita object. The slotId field will match the slot you reserved, and estado will be "confirmada" — reserving a slot skips the pending phase and confirms the appointment immediately.
See the Cita object reference for a full description of all response fields.
Example
Example response
To discover which slots a barber has opened, use
GET /slots?profileId={barberoId} before calling this endpoint.