Documentation Index
Fetch the complete documentation index at: https://mintlify.com/hack4impact-umd/breastfeeding-center-gw/llms.txt
Use this file to discover all available pages before exploring further.
Overview
These endpoints proxy appointment data from the Acuity Scheduling API. Data is fetched live from Acuity on each request and is not cached in Firestore. For real-time client sync from Acuity, see the webhook endpoint. All endpoints require a valid Firebase Auth ID token. Base URL:https://us-east4-breastfeeding-center-gw.cloudfunctions.net/api
GET /acuity/appointments
Returns Acuity appointments within a date range, optionally filtered by class category. Auth required: YesQuery parameters
ISO 8601 start of the query window (inclusive). Example:
2024-01-01T00:00:00Z.ISO 8601 end of the query window (inclusive). Example:
2024-02-01T00:00:00Z.Filter results to a specific class category (case-insensitive). When omitted or set to
"all classes", all categories are returned.Example
Response
Returns a JSON array ofAcuityAppointment objects.
Unique Acuity appointment ID.
First name of the attendee.
Last name of the attendee.
Email address of the attendee.
Name of the calendar/instructor for the appointment. Maps to the Acuity
calendar field.Appointment type name. Maps to the Acuity
type field.Category of the appointment type. Maps to the Acuity
category field.Appointment date and time in ISO 8601 format.
Array of baby due dates (ISO 8601) collected from intake form responses.
Error codes
| Status | Reason |
|---|---|
400 | startDate or endDate is missing |
403 | Missing or invalid auth token |
500 | Failed to fetch appointments from the Acuity API |
GET /acuity/appointments/client
Returns all Acuity appointments for a specific client identified by email address. Fetches live from the Acuity API. Auth required: YesQuery parameters
The email address of the client whose appointments should be returned.
Example
Response
Returns a JSON array ofAcuityAppointment objects for the specified client (same fields as GET /acuity/appointments).
Error codes
| Status | Reason |
|---|---|
400 | email query parameter is missing |
403 | Missing or invalid auth token |
