Skip to main content
GET
Listar citas (agenda)

Autorizaciones

Authorization
string
header
requerido

Clave API enviada como token Bearer

Parámetros de consulta

startFrom
string | null

ISO-8601 lower bound on start (inclusive).

startTo
string | null

ISO-8601 upper bound on start (inclusive).

status
enum<string>[] | null

Filter by one or more statuses (repeatable).

FHIR appointment status set (mirrors datalayer AppointmentStatus). Used to validate the agenda status filter, so a typo is a clean 400, not a 5xx.

Opciones disponibles:
proposed,
pending,
booked,
arrived,
checkedIn,
fulfilled,
cancelled,
noshow,
waitlist,
enteredInError
consultationInternalId
string | null

Filter to the booking that carries this consultation id.

page
integer
predeterminado:1

Page number (1-based).

Rango requerido: x >= 1
limit
integer
predeterminado:20

Number of items per page.

Rango requerido: 1 <= x <= 50

Respuesta

Respuesta exitosa

Paginated list of appointments (the agenda).

items
AppointmentResponse · object[]
requerido

Page of appointments.

page
integer
requerido

Current page number (1-based).

limit
integer
requerido

Number of items per page.

hasMore
boolean
requerido

Whether another page likely exists (accurate on every page).

total
integer | null

Total appointments matching the filter (null on later pages).

totalPages
integer | null

Total number of pages (null when the total is unknown).