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.
/citas endpoint returns all appointments associated with a given profile. Pass role and profileId to scope results to the correct user. Use the optional view and estado parameters to narrow the list — for example, the home screen only shows upcoming confirmed appointments, while the agenda shows the full history.
Base URL
Request
GET /citas
Query parameters
The role of the requesting user. Must be
"cliente" or "barbero".The profile ID of the requesting user. Used to filter appointments that belong to this profile.
Optional display context. Accepted values:
"home" or "agenda". Affects which appointments are returned based on the screen context.Filter results by appointment status. Accepted values:
"pendiente", "confirmada", "realizada", "cancelada", "rechazada".Response
Returns an array ofCita objects matching the query.
Cita object
Unique identifier for the appointment.
The client associated with this appointment.
The barber assigned to this appointment.
The ID of the availability slot this appointment was booked from.
null if the appointment was created via solicitar rather than reservar.List of procedures scheduled for this appointment.
Sum of the prices of all procedures in the appointment.
ISO 8601 timestamp for the appointment start time.
ISO 8601 timestamp for the appointment end time.
Appointment date in
YYYY-MM-DD format.Appointment start time in
HH:MM format.Appointment end time in
HH:MM format.Current status of the appointment. One of:
"pendiente", "confirmada", "realizada", "cancelada", "rechazada".Human-readable label for the current status, suitable for display in the UI.
Notes attached to the appointment by the client at the time of booking.
Whether the appointment can still be rescheduled or cancelled.
true when the appointment is at least one day away.Rating left by the client after the appointment is completed.
null if the appointment has not been rated.Example
Example response