Skip to content

API reference

API: Childcare

Markdown version

MethodPathWhat it doesScope
DELETE/v1/mkt/care/absences/:idUndo an absence (the child is expected after all)care:write
POST/v1/mkt/care/announcementsWrite an announcement to a program's or a site's families: preview first (how many guardians, the words), then queue it (site leads and admins; 3 a site a day; only if announcements are on)care:write
GET/v1/mkt/care/audit/restricted-readsWhich children's medical, custody, photo or other restricted notes one person opened in a time window, by field, with their families (owners, signed in; never the notes themselves; each look recorded)children:read
GET/v1/mkt/care/booking-embedsYour booking pages for your own website: the site each shows, the websites allowed to show it, the snippet to paste, and today's link requestscare:read
POST/v1/mkt/care/booking-embedsMake a booking page for your own website (owners and admins): one site or every site, and the https websites allowed to show it (at most 5)care:write
DELETE/v1/mkt/care/booking-embeds/:idTake a booking page down for good (its snippet stops working at once)care:write
PUT/v1/mkt/care/booking-embeds/:idChange which websites may show a booking page, or turn it off and on (owners and admins)care:write
GET/v1/mkt/care/children/:idA child (name, age, flags) with their pickup list (names only, and who may not collect them)children:read
PUT/v1/mkt/care/children/:id/activity-photo-consentRecord a guardian's consent to photos of the day for a child (given on paper or in person, with their name), or its withdrawal (which deletes the child's photos of the day)care:write
GET/v1/mkt/care/children/:id/daily-sheetA child's daily sheet for a day (today by default): meals, bottles, naps, diapers, activities, mood, notes, medication given and photos of the day, for staff of the sitechildren:read
POST/v1/mkt/care/children/:id/leaveMark a child as having left your organization: their notes and photo are deleted after 90 days; attendance stays for its own periodcare:write
PUT/v1/mkt/care/children/:id/meal-categoryRecord a child's meal-program eligibility category (free, reduced-price or paid) for a site that claims CACFP; never income (site leads and admins)care:write
POST/v1/mkt/care/children/:id/pickupsAdd someone who may collect a child, or someone who may not (a custody order: staff are alerted, never told to release)care:write
GET/v1/mkt/care/children/:id/restrictedA child's medical and allergy notes, custody notes and photo, for staff of a site the child is at this week (each look is recorded)children:read
PUT/v1/mkt/care/children/:id/restrictedSet a child's medical notes, custody notes or photo (a photo needs the guardian's consent, recorded here)care:write
PUT/v1/mkt/care/children/:id/subsidyMark a child as paid for by a state subsidy program, with the case or authorization number the state gives (kept sealed), or clear it (site leads and admins)care:write
GET/v1/mkt/care/children/:id/visitsA child's recent check-ins and check-outs (the attendance record), newest first, at most 100children:read
DELETE/v1/mkt/care/classes/:idCancel a class (site leads and admins)care:write
POST/v1/mkt/care/classes/check-inCheck several of a family's members (guardians or children) into one or more of today's classes at once; a full class refuses the ones that don't fitcare:write
DELETE/v1/mkt/care/enrollments/:idTake a child off a program's roster (their attendance stays)care:write
GET/v1/mkt/care/form-submissions/:idA family's filled form with its answers and signature, for staff with the family's full record (each look is recorded); print it from the app for a paper copychildren:read
GET/v1/mkt/care/form-submissions/:id/pdfA family's filled and signed PDF, for the staff who may open its answers (each look is recorded)children:read
GET/v1/mkt/care/formsYour forms and waivers: fields, a waiver's text, signature, how long each is good for, and whether check-in needs itcare:read
POST/v1/mkt/care/formsWrite a form or waiver (owners and admins): its fields, text, signature, how many months it's good for, and whether check-in needs itcare:write
PUT/v1/mkt/care/forms/:idChange a form (a new version: families who filled the old one keep it, marked as an earlier version) or archive it (owners and admins)care:write
DELETE/v1/mkt/care/forms/:id/pdfTake the PDF off a form (owners and admins); signed copies families already made are keptcare:write
GET/v1/mkt/care/forms/:id/pdfThe form's blank PDF as uploaded, or with preview=true filled with sample words in each box so you can check where they landcare:read
PUT/v1/mkt/care/forms/:id/pdfAttach your own PDF to a form (owners and admins; at most 2 MB and 30 pages, not password-protected). Families still fill the form here; their answers and signature are written onto the PDF. Replacing it makes a new form version and clears the field positions.care:write
PUT/v1/mkt/care/forms/:id/pdf-fieldsPlace the form's fields, the signature, the signer's name, the date and the child's name on its PDF: boxes in fractions of the page from its top-left (owners and admins; a new form version)care:write
POST/v1/mkt/care/forms/:id/submissionsRecord a family's form (filled on paper or the front-desk tablet): answers, who signed, and the signature if the form askscare:write
PATCH/v1/mkt/care/guardians/:idChange a guardian's relationship, phone, email or language (their name stays: add a new guardian for a different person)care:write
DELETE/v1/mkt/care/guardians/:id/family-accessEnd a guardian's access to the family view (every open session ends now)care:write
POST/v1/mkt/care/guardians/:id/inviteEmail a guardian a sign-in link to their family's view (one link, works once for 30 minutes; at most 3 a guardian a day)care:write
GET/v1/mkt/care/householdsFind a family to check in: by name, member number or the last 4 digits of a phone (at most 20), or list families by name (at most 50), with each child's first name, age and flagschildren:read
POST/v1/mkt/care/householdsAdd a family by hand (most come from your member system or a roster file)care:write
GET/v1/mkt/care/households/:idA family: its children (names, ages, flags), guardians and each child's pickupschildren:read
POST/v1/mkt/care/households/:id/childrenAdd a child to a family; the family's guardians become the child's authorized pickupscare:write
GET/v1/mkt/care/households/:id/formsA family's forms and waivers: each one's status (current, expiring, expired, missing), who signed and when (not the answers)children:read
POST/v1/mkt/care/households/:id/guardiansAdd a guardian to a family; they become an authorized pickup for each of its childrencare:write
PUT/v1/mkt/care/households/:id/guestMark a family as a guest (not a member) or notcare:write
GET/v1/mkt/care/households/:id/guest-daysA guest family's days used in the organization's window, its limit, and whether today needs a guest pass (for the check-in screen)care:read
POST/v1/mkt/care/households/:id/guest-passGive a guest family one more day at a site today, past the guest limit (site leads and admins, with a reason; recorded)care:write
GET/v1/mkt/care/households/:id/membershipA family's membership on file (status, type, where it came from and when) and what check-in does for it under your ruleschildren:read
PUT/v1/mkt/care/households/:id/membershipRecord a family's membership status and type by hand, when no member system says it (site leads and admins)care:write
POST/v1/mkt/care/importsImport families from a roster file (CSV): preview first, then file them. Nothing is sent to anyonecare:write
POST/v1/mkt/care/imports/mappingSuggest how another tool's export's columns map onto ours (one row per child or per family), with what's missing and any columns we refuse. Nothing is filedcare:write
GET/v1/mkt/care/incidents/:idAn incident with what happened, for staff of its site (each look is recorded)children:read
POST/v1/mkt/care/incidents/:id/acknowledgeThe guardian acknowledges an incident report (at pickup): their name and, if they sign, a signature drawn on the screencare:write
POST/v1/mkt/care/incidents/:id/guardian-toldRecord that the guardian was told about an incident: how and whencare:write
GET/v1/mkt/care/kioskWhether this device is a check-in kiosk, and for which sitecare:read
POST/v1/mkt/care/kioskTurn this device into the check-in kiosk for one of your sites (web sign-in only; needs a kiosk PIN set; at most 14 hours)care:write
POST/v1/mkt/care/kiosk/exitLeave the check-in kiosk with the staff PIN (5 wrong PINs in 10 minutes lock that kiosk for 10 minutes)care:read
GET/v1/mkt/care/limitsEvery limit the childcare product has, with what's used now and the share (owners and admins; owners are told at 50%, 80% and the limit)care:read
GET/v1/mkt/care/logs/:idOne care log, with the medicine's name and dose for a medication entry, or the photo of a photo of the day (staff of the site; each look is recorded)children:read
POST/v1/mkt/care/logs/:id/endEnd a napcare:write
DELETE/v1/mkt/care/meal-counts/:idStrike out a count marked by mistake (kept on the record with who and when, not deleted)care:write
GET/v1/mkt/care/meal-services/:idA meal service: the children checked in to the room now and whether each has been counted as servedchildren:read
POST/v1/mkt/care/meal-services/:id/countsCount children as served at a meal service, as they're served: only children checked in to the room now, and only todaycare:write
GET/v1/mkt/care/membership-rulesYour check-in rules by membership status or type (allowed, blocked, or needs a payment at the desk), with the statuses and the membership types your families havecare:read
POST/v1/mkt/care/membership-rulesAdd a check-in rule by membership status or type: allowed, blocked, or needs a payment at the desk first (owners and admins)care:write
DELETE/v1/mkt/care/membership-rules/:idRemove a check-in rule by membership (owners and admins)care:write
GET/v1/mkt/care/messagesThe latest family messages and what became of each (sent, combined into a digest, skipped and why), without their words; at most 200care:read
GET/v1/mkt/care/messages/channelsHow family messages go out: email, push (families turn it on from their family view) and texts (Association plan; the kinds you pick, to guardians who agreed), each with its switch, limits and countscare:read
PUT/v1/mkt/care/messages/channelsTurn push or texts on or off, choose which kinds go by text, or set the daily text limit (owners and admins; the limit is an owner's). Nothing already sent is resent.care:write
POST/v1/mkt/care/messages/deliverDeliver family messages that are due now, under the same ceilings, switches and policy gate as the worker (admins)care:write
GET/v1/mkt/care/messages/kindsThe kinds of family message, each off until you turn it on, with what it says (English and Spanish previews)care:read
PUT/v1/mkt/care/messages/kinds/:kindTurn one kind of family message on or off (owners and admins); nothing is sent for what happened before it was oncare:write
DELETE/v1/mkt/care/pickups/:idRemove someone from a child's pickup listcare:write
GET/v1/mkt/care/pickups/:id/photoThe photo of someone who may collect a child, for staff checking them at pickup (each look is recorded)children:read
PUT/v1/mkt/care/pickups/:id/photoSet or remove the photo of someone who may collect a child (with their consent, recorded; photos must be on for your organization)care:write
PATCH/v1/mkt/care/programs/:idChange a program's name, end date, weekdays or pickup signatures, or archive it (site leads, admins, owners)care:write
POST/v1/mkt/care/programs/:id/absencesMark a child absent from a program on a day (the school or a parent called), with who said socare:write
POST/v1/mkt/care/programs/:id/arrivalsCheck enrolled children in to their program as they arrive (from school or the bus), as a group: refused when the room's ratio wouldn't hold. No tag: pickup checks the person's ID and, if the program asks, their signaturecare:write
GET/v1/mkt/care/programs/:id/dismissalA day's dismissal list: each enrolled child expected that day by school and how they leave it, and whether they're here, collected, absent or still expectedchildren:read
GET/v1/mkt/care/programs/:id/enrollmentsA program's roster: each child's first name and initial, age, flags, school, grade and how they leave school (at most 1,000)children:read
POST/v1/mkt/care/programs/:id/enrollmentsEnroll a child in a program, with their school, grade and how they leave school (enrolling again updates those)care:write
PUT/v1/mkt/care/programs/:id/registrationOpen or close a program's registration: closing date, fee per child, capacity, how it's paid (member system or card through your Stripe account), and whether staff review each (site leads and admins)care:write
GET/v1/mkt/care/programs/:id/registrationsA program's registrations, oldest first: the family's children (first names, initials), status, amount and how it's paidchildren:read
POST/v1/mkt/care/programs/:id/rosterImport a program's roster from a file (CSV with school, grade and dismissal columns): preview first, then file the families and enroll the children. Nothing is sent to anyonecare:write
POST/v1/mkt/care/registrations/:id/decideEnroll a registration's children, decline it, or mark it paid (paid through your member system) and enroll (site leads and admins)care:write
GET/v1/mkt/care/reports/custom/fieldsWhat a custom report can show: for each dataset, its columns, groups, counts and filters (children's names are marked; nothing sealed is on the list)care:read
POST/v1/mkt/care/reports/custom/runRun a custom report on the sites you can see (at most 92 days and 5,000 rows), as JSON or CSV; children's names only for signed-in staff who may see children's recordscare:read
GET/v1/mkt/care/reports/savedYour organization's saved reports and their schedulescare:read
POST/v1/mkt/care/reports/savedSave a custom report for your organization (site leads and admins)care:write
PUT/v1/mkt/care/reports/saved/:idRename or change a saved report, or archive it (site leads and admins)care:write
GET/v1/mkt/care/reports/saved/:id/runRun a saved report for its dates (or other dates), as JSON or CSVcare:read
PUT/v1/mkt/care/reports/saved/:id/scheduleTurn a report's schedule on or off: daily, weekly or monthly, the staff to tell (members of your organization, at most 10). They get a notice with a link, never the rows. At most 10 scheduled reports.care:write
GET/v1/mkt/care/reports/sitesEvery site side by side for a date range: visits, children, families, child-hours, staff-hours, staff-hours the ratio needed and hours short (owners and admins; counts only; CSV with format=csv)care:read
DELETE/v1/mkt/care/reservation-groups/:idCancel a family's booking or waitlist place for a session; the next waiting families that fit are bookedcare:write
POST/v1/mkt/care/reservation-groups/:id/moveMove a family's booking to another session (booked or waitlisted there, as places allow); the old place goes to the waitlistcare:write
GET/v1/mkt/care/rooms/:id/daily-summaryToday's daily-sheet counts for a room: children here, and how many meals, bottles, naps, diapers, activities, moods and photos were logged (no names)care:read
GET/v1/mkt/care/rooms/:id/lesson-plans/:weekA room's lesson plan for the week that includes this date (YYYY-MM-DD)care:read
PUT/v1/mkt/care/rooms/:id/lesson-plans/:weekWrite a room's lesson plan for the week that includes this date (no children's details here)care:write
GET/v1/mkt/care/rooms/:id/logsToday's care logs for the children checked in to a room (medication shows as given, with the time; its detail opens one at a time)children:read
POST/v1/mkt/care/rooms/:id/meal-servicesStart a meal service in a room today (one per meal type a day), with its menu; opening it again returns itcare:write
POST/v1/mkt/care/rooms/:id/sessionsPublish a bookable session in a room (a start, an end, a capacity up to the room's), once or weekly for up to 12 weeks (site leads and admins)care:write
POST/v1/mkt/care/rooms/:id/shiftsStart a staff member's shift in a room (they count toward its ratio until it ends; one open shift each)care:write
GET/v1/mkt/care/rules/:stateA state's licensing rules for each program type, each with its regulation section and source (reference, not legal advice)care:read
POST/v1/mkt/care/sampleAdd a sample site with made-up families, to try check-in, ratios and pickups (every name is marked as a sample)care:write
DELETE/v1/mkt/care/sessions/:idCancel a session: its bookings and waitlist are cancelled (nobody is messaged; tell families yourself or with an announcement)care:write
GET/v1/mkt/care/sessions/:id/reservationsWho's booked for a session and who's waiting, in order (first names and initials, by family)children:read
POST/v1/mkt/care/sessions/:id/reservationsBook a family's children into a session together, or put them on its waitlist together when they don't all fitcare:write
GET/v1/mkt/care/settingsYour organization's childcare switches (photos of children and pickups: off until turned on)care:read
PUT/v1/mkt/care/settingsTurn photos of children and pickups on or off (owners and admins; each photo still needs a guardian's consent)care:write
PUT/v1/mkt/care/settings/activity-photosTurn photos of the day on or off (owners). Separate from identification photos; each child also needs a guardian's consent. Turning it off deletes every photo of the day.care:write
PUT/v1/mkt/care/settings/family-bookingLet families book sessions from their family view (owners and admins; off until turned on)care:write
PUT/v1/mkt/care/settings/family-messagesSet your organization's daily limit on family messages (owners; at most 20,000 a day)care:write
PUT/v1/mkt/care/settings/family-viewTurn the family view on or off: guardians you invite see their own children's check-ins and pickup listcare:write
PUT/v1/mkt/care/settings/guest-daysSet how many days a guest family may come (a month, a year, or the last 30 days), or no limit (owners and admins)care:write
PUT/v1/mkt/care/settings/kiosk-pinSet the PIN staff enter to leave the check-in kiosk (4 to 8 digits; owners and admins)care:write
GET/v1/mkt/care/settings/qualificationsWho counts toward each kind of room's ratio (the certifications required and a minimum age, with the site's state's own words beside them), whether the ratio counts only qualified staff, and the expiry noticescare:read
PUT/v1/mkt/care/settings/qualificationsSet who counts toward each kind of room's ratio, whether the ratio counts only qualified staff, and the certification expiry notices (owners and admins)care:write
PUT/v1/mkt/care/settings/stripe-accountConnect (or disconnect) your organization's own Stripe account for card payments on registrations: the account id from your Stripe dashboard (owners)care:write
GET/v1/mkt/care/settings/stripe-connectYour Stripe account's state for card payments: connected, details submitted, able to take charges (read from Stripe; owners)care:read
POST/v1/mkt/care/settings/stripe-connectStart (or continue) Stripe's own onboarding for your organization's Stripe account, for card payments on registrations: returns Stripe's link (owners, signed in)care:write
GET/v1/mkt/care/setup/checklistWhat's left to set up: your site and rooms, families, staff, the kiosk, the first check-in and the first family invited to the family viewcare:read
POST/v1/mkt/care/shifts/:id/endEnd a shift. Refused when it would leave a room short of the staff its children needcare:write
GET/v1/mkt/care/sitesThe sites you work at (all sites for owners and admins)care:read
POST/v1/mkt/care/sitesAdd a site: a building where you care for children, in the state whose licensing rules applycare:write
GET/v1/mkt/care/sites/:id/boardEach room right now: children checked in, staff on shift, what the state's ratio needs and whether it holdscare:read
PUT/v1/mkt/care/sites/:id/cacfpSay whether a site claims the USDA food program (CACFP) and in which component: a center, or at-risk afterschool (owners and admins)care:write
GET/v1/mkt/care/sites/:id/cacfp/claimA site's CACFP claim for a month: each meal type served and claimable, by eligibility category (format=csv for a file)care:read
GET/v1/mkt/care/sites/:id/classesA site's classes between two times (today by default) with how many are checked in and places leftcare:read
POST/v1/mkt/care/sites/:id/classesAdd a class to a site's schedule (a name, instructor, place, local date and times, capacity; weekly for up to 12 weeks) (site leads and admins)care:write
POST/v1/mkt/care/sites/:id/classes/importImport a class schedule from a file (CSV: name, instructor, location, date, start, end, capacity, weeks): preview first, then add (site leads and admins)care:write
GET/v1/mkt/care/sites/:id/exports/subsidyA month's subsidy attendance for a site: each subsidized child's days (first in, last out, minutes, who collected them, or absent and why), with the case number, as JSON or CSV for the state's portal (site leads and admins; each export recorded)children:read
GET/v1/mkt/care/sites/:id/forms-dueFamilies of a site (checked in in the last 90 days) missing a form, or whose form has expired or expires in 14 days (site leads and admins; at most 500)children:read
GET/v1/mkt/care/sites/:id/incidentsA site's incidents over the last days (kind, child's first name, times, whether the guardian was told and acknowledged); what happened opens one at a timechildren:read
GET/v1/mkt/care/sites/:id/meal-servicesA site's meal services on a day (today by default), with how many children were counted at eachcare:read
GET/v1/mkt/care/sites/:id/offline-packThis site's copy for offline check-in on a staff device: rooms and staff on shift, who's checked in, and the site's families for finding them and checking pickups (no notes, photos or contact details; each download recorded)children:read
GET/v1/mkt/care/sites/:id/programsA site's after-school and camp programs: days, dates, room and how many children are enrolledcare:read
POST/v1/mkt/care/sites/:id/programsAdd an after-school or camp program at a site: its room, weekdays, dates, and whether pickups sign (site leads, admins, owners)care:write
GET/v1/mkt/care/sites/:id/reports/attendanceAttendance records for a site and date range: each visit with the child's name, room, program, times and who brought and collected them (site leads and admins; each export recorded; CSV with format=csv)children:read
GET/v1/mkt/care/sites/:id/reports/classesClass attendance over a date range by class and by instructor: classes held, check-ins, average and fill rate (counts only)care:read
GET/v1/mkt/care/sites/:id/reports/staffingStaffing from real attendance: per room, child-hours, staff-hours, the hours the ratio needed and the hours short; and the average children and staff needed by weekday and hour (counts only; CSV with format=csv)care:read
GET/v1/mkt/care/sites/:id/reports/usageUsage for a site by day: visits, children, families, average stay and the busiest hour (counts only; CSV with format=csv)care:read
GET/v1/mkt/care/sites/:id/roomsA site's rooms with their program type, ages and capacitycare:read
POST/v1/mkt/care/sites/:id/roomsAdd a room to a site: its program type (whose licensing rules apply), ages and capacitycare:write
POST/v1/mkt/care/sites/:id/rostersImport several programs' rosters from one file (CSV with a program column naming each row's program at this site): preview first, then file the families and enroll each child in their program. Nothing is sent to anyonecare:write
GET/v1/mkt/care/sites/:id/sessionsA site's sessions between two times (the next 7 days by default) with booked, waiting and places left (no names)care:read
GET/v1/mkt/care/sites/:id/sync-conflictsWhat offline devices sent that couldn't be applied as it was, for a site lead to accept or dismiss (open first)care:read
GET/v1/mkt/care/sites/:id/visitsWho's checked in at a site now (first names, rooms, flags), or today's check-ins and check-outs. At most 500children:read
GET/v1/mkt/care/sites/:id/whereaboutsWhere everyone is at a site now: each room's children with where their parent is (first names and initials for staff who may see children; counts and parents' locations otherwise)care:read
GET/v1/mkt/care/staffYour organization's childcare staff, their roles and sites (owners and admins see everyone; others see their sites')care:read
POST/v1/mkt/care/staffAdd a staff member (optionally a member of your organization, or someone invited: invitation_id from POST /v1/invitations, linked when they accept) with a role and the sites they work atcare:write
DELETE/v1/mkt/care/staff-certs/:idStrike out a certification recorded by mistake or replaced (kept on the record with who and when; owners and admins)care:write
GET/v1/mkt/care/staff-certs/expiringCertifications and background checks expired or expiring in the next 60 days, by staff member (owners and admins see everyone; site leads their sites' staff). No report contentscare:read
PATCH/v1/mkt/care/staff/:idChange a staff member's role and the sites they work at, or remove them (owners and admins)care:write
POST/v1/mkt/care/staff/:id/certsRecord a staff member's certification or background-check status, with the date checked and when it expires (owners and admins; the report itself is never stored)care:write
PUT/v1/mkt/care/staff/:id/date-of-birthRecord a staff member's date of birth, for the minimum age to count toward a ratio (owners and admins)care:write
GET/v1/mkt/care/staff/:id/qualificationsA staff member's certifications and background-check status (never the report), and for each kind of room whether they count toward its ratio and why notcare:read
GET/v1/mkt/care/support-grantsSupport access you have given: who, why, until when, and whether it is still live (owners and admins; at most 50, newest first)care:read
POST/v1/mkt/care/support-grantsLet one of our support team see your families and site counts for a set time (1–72 hours), with a reason; never medical or custody notes or photos (owners, signed in)care:write
DELETE/v1/mkt/care/support-grants/:idEnd support access now (owners, signed in)care:write
GET/v1/mkt/care/support/threadYour organization's conversation with our support team, oldest first, and whether support access is live (owners and admins)care:read
POST/v1/mkt/care/support/threadWrite to our support team (owners and admins; leave out children's details: if we need to see a family, give support access for a few hours)care:write
POST/v1/mkt/care/syncSend what a staff device did while offline (check-ins and releases, in order): each is applied against what's true now, once; what can't be applied as it was goes to the site lead as a conflictcare:write
POST/v1/mkt/care/sync-conflicts/:id/resolveAccept an offline conflict (record the check-in or release as it happened, with your reason) or dismiss it (site leads and admins)care:write
POST/v1/mkt/care/visitsCheck children in to a room (one family's, together): refused when the room is full or the staff on shift wouldn't keep the ratio. Returns a label for each child and one pickup tag, sharing a code shown oncecare:write
POST/v1/mkt/care/visits/:id/check-outCheck a child out to the person collecting them: an authorized pickup with the tag's code, or a site lead's override with a reason. A blocked person is always refusedcare:write
POST/v1/mkt/care/visits/:id/incidentsRecord an incident (injury, illness, behavior) during a child's visit: what happened (kept sealed), first aid, who saw itcare:write
POST/v1/mkt/care/visits/:id/logsLog care for a child who's checked in: a diaper change, a nap (start; end it later), a meal (how much was eaten), a bottle (what and how much), an activity, the child's mood, a note, a photo of the day (activity photos on, the guardian's consent, only this child in it), or medication given (with the guardian's written authorization on file; name and dose kept sealed)care:write
POST/v1/mkt/care/visits/:id/moveMove a checked-in child to another room at the same site (refused when that room is full, outside the child's age, or short of staff for the ratio); the move is keptcare:write
GET/v1/mkt/care/visits/:id/movesWhere a child was during a visit: the room they were checked in to, each move, and each change of where the parent waschildren:read
PUT/v1/mkt/care/visits/:id/parent-locationChange where the parent is on site during the visit (for the family's children here together); each change is keptcare:write
POST/v1/mkt/care/visits/:id/reprintPrint a new label and tag (a new code; the old tag stops working)care:write
GET/v1/mkt/care/visits/:id/signatureThe signature given at a child's pickup, for a site lead or admin (each view is recorded)children:read

Examples

DELETE /v1/mkt/care/absences/$ID

Undo an absence (the child is expected after all)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/absences/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/absences/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/announcements

Write an announcement to a program's or a site's families: preview first (how many guardians, the words), then queue it (site leads and admins; 3 a site a day; only if announcements are on)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/announcements" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/announcements`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/audit/restricted-reads

Which children's medical, custody, photo or other restricted notes one person opened in a time window, by field, with their families (owners, signed in; never the notes themselves; each look recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/audit/restricted-reads" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/audit/restricted-reads`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/booking-embeds

Your booking pages for your own website: the site each shows, the websites allowed to show it, the snippet to paste, and today's link requests

curl -s "https://api.cubbylark.com/v1/mkt/care/booking-embeds" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/booking-embeds`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/booking-embeds

Make a booking page for your own website (owners and admins): one site or every site, and the https websites allowed to show it (at most 5)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/booking-embeds" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/booking-embeds`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/booking-embeds/$ID

Take a booking page down for good (its snippet stops working at once)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/booking-embeds/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/booking-embeds/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/booking-embeds/$ID

Change which websites may show a booking page, or turn it off and on (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/booking-embeds/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/booking-embeds/${id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/children/$ID

A child (name, age, flags) with their pickup list (names only, and who may not collect them)

curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

Record a guardian's consent to photos of the day for a child (given on paper or in person, with their name), or its withdrawal (which deletes the child's photos of the day)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/children/$ID/activity-photo-consent" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/activity-photo-consent`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/children/$ID/daily-sheet

A child's daily sheet for a day (today by default): meals, bottles, naps, diapers, activities, mood, notes, medication given and photos of the day, for staff of the site

curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/daily-sheet" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/daily-sheet`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/children/$ID/leave

Mark a child as having left your organization: their notes and photo are deleted after 90 days; attendance stays for its own period

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/children/$ID/leave" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/leave`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/children/$ID/meal-category

Record a child's meal-program eligibility category (free, reduced-price or paid) for a site that claims CACFP; never income (site leads and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/children/$ID/meal-category" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/meal-category`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/children/$ID/pickups

Add someone who may collect a child, or someone who may not (a custody order: staff are alerted, never told to release)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/children/$ID/pickups" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/pickups`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/children/$ID/restricted

A child's medical and allergy notes, custody notes and photo, for staff of a site the child is at this week (each look is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/restricted" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/restricted`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/children/$ID/restricted

Set a child's medical notes, custody notes or photo (a photo needs the guardian's consent, recorded here)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/children/$ID/restricted" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/restricted`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/children/$ID/subsidy

Mark a child as paid for by a state subsidy program, with the case or authorization number the state gives (kept sealed), or clear it (site leads and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/children/$ID/subsidy" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/subsidy`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/children/$ID/visits

A child's recent check-ins and check-outs (the attendance record), newest first, at most 100

curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/visits" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/children/${id}/visits`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

DELETE /v1/mkt/care/classes/$ID

Cancel a class (site leads and admins)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/classes/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/classes/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/classes/check-in

Check several of a family's members (guardians or children) into one or more of today's classes at once; a full class refuses the ones that don't fit

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/classes/check-in" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/classes/check-in`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/enrollments/$ID

Take a child off a program's roster (their attendance stays)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/enrollments/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/enrollments/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/form-submissions/$ID

A family's filled form with its answers and signature, for staff with the family's full record (each look is recorded); print it from the app for a paper copy

curl -s "https://api.cubbylark.com/v1/mkt/care/form-submissions/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/form-submissions/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/form-submissions/$ID/pdf

A family's filled and signed PDF, for the staff who may open its answers (each look is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/form-submissions/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/form-submissions/${id}/pdf`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/forms

Your forms and waivers: fields, a waiver's text, signature, how long each is good for, and whether check-in needs it

curl -s "https://api.cubbylark.com/v1/mkt/care/forms" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/forms

Write a form or waiver (owners and admins): its fields, text, signature, how many months it's good for, and whether check-in needs it

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/forms" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/forms/$ID

Change a form (a new version: families who filled the old one keep it, marked as an earlier version) or archive it (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/forms/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/forms/$ID/pdf

Take the PDF off a form (owners and admins); signed copies families already made are kept

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}/pdf`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/forms/$ID/pdf

The form's blank PDF as uploaded, or with preview=true filled with sample words in each box so you can check where they land

curl -s "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}/pdf`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/forms/$ID/pdf

Attach your own PDF to a form (owners and admins; at most 2 MB and 30 pages, not password-protected). Families still fill the form here; their answers and signature are written onto the PDF. Replacing it makes a new form version and clears the field positions.

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}/pdf`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/forms/$ID/pdf-fields

Place the form's fields, the signature, the signer's name, the date and the child's name on its PDF: boxes in fractions of the page from its top-left (owners and admins; a new form version)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf-fields" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}/pdf-fields`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/forms/$ID/submissions

Record a family's form (filled on paper or the front-desk tablet): answers, who signed, and the signature if the form asks

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/forms/$ID/submissions" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/forms/${id}/submissions`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PATCH /v1/mkt/care/guardians/$ID

Change a guardian's relationship, phone, email or language (their name stays: add a new guardian for a different person)

curl -s -X PATCH "https://api.cubbylark.com/v1/mkt/care/guardians/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/guardians/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/guardians/$ID/family-access

End a guardian's access to the family view (every open session ends now)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/guardians/$ID/family-access" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/guardians/${id}/family-access`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/guardians/$ID/invite

Email a guardian a sign-in link to their family's view (one link, works once for 30 minutes; at most 3 a guardian a day)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/guardians/$ID/invite" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/guardians/${id}/invite`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/households

Find a family to check in: by name, member number or the last 4 digits of a phone (at most 20), or list families by name (at most 50), with each child's first name, age and flags

curl -s "https://api.cubbylark.com/v1/mkt/care/households" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/households

Add a family by hand (most come from your member system or a roster file)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/households" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/households/$ID

A family: its children (names, ages, flags), guardians and each child's pickups

curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/households/$ID/children

Add a child to a family; the family's guardians become the child's authorized pickups

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/households/$ID/children" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/children`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/households/$ID/forms

A family's forms and waivers: each one's status (current, expiring, expired, missing), who signed and when (not the answers)

curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/forms" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/forms`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/households/$ID/guardians

Add a guardian to a family; they become an authorized pickup for each of its children

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/households/$ID/guardians" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/guardians`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/households/$ID/guest

Mark a family as a guest (not a member) or not

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/households/$ID/guest" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/guest`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/households/$ID/guest-days

A guest family's days used in the organization's window, its limit, and whether today needs a guest pass (for the check-in screen)

curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/guest-days" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/guest-days`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/households/$ID/guest-pass

Give a guest family one more day at a site today, past the guest limit (site leads and admins, with a reason; recorded)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/households/$ID/guest-pass" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/guest-pass`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/households/$ID/membership

A family's membership on file (status, type, where it came from and when) and what check-in does for it under your rules

curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/membership" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/membership`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/households/$ID/membership

Record a family's membership status and type by hand, when no member system says it (site leads and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/households/$ID/membership" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/households/${id}/membership`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/imports

Import families from a roster file (CSV): preview first, then file them. Nothing is sent to anyone

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/imports" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/imports`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/imports/mapping

Suggest how another tool's export's columns map onto ours (one row per child or per family), with what's missing and any columns we refuse. Nothing is filed

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/imports/mapping" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/imports/mapping`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/incidents/$ID

An incident with what happened, for staff of its site (each look is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/incidents/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/incidents/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/incidents/$ID/acknowledge

The guardian acknowledges an incident report (at pickup): their name and, if they sign, a signature drawn on the screen

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/incidents/$ID/acknowledge" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/incidents/${id}/acknowledge`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/incidents/$ID/guardian-told

Record that the guardian was told about an incident: how and when

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/incidents/$ID/guardian-told" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/incidents/${id}/guardian-told`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/kiosk

Whether this device is a check-in kiosk, and for which site

curl -s "https://api.cubbylark.com/v1/mkt/care/kiosk" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/kiosk`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/kiosk

Turn this device into the check-in kiosk for one of your sites (web sign-in only; needs a kiosk PIN set; at most 14 hours)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/kiosk" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/kiosk`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/kiosk/exit

Leave the check-in kiosk with the staff PIN (5 wrong PINs in 10 minutes lock that kiosk for 10 minutes)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/kiosk/exit" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/kiosk/exit`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/limits

Every limit the childcare product has, with what's used now and the share (owners and admins; owners are told at 50%, 80% and the limit)

curl -s "https://api.cubbylark.com/v1/mkt/care/limits" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/limits`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/logs/$ID

One care log, with the medicine's name and dose for a medication entry, or the photo of a photo of the day (staff of the site; each look is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/logs/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/logs/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/logs/$ID/end

End a nap

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/logs/$ID/end" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/logs/${id}/end`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/meal-counts/$ID

Strike out a count marked by mistake (kept on the record with who and when, not deleted)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/meal-counts/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/meal-counts/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/meal-services/$ID

A meal service: the children checked in to the room now and whether each has been counted as served

curl -s "https://api.cubbylark.com/v1/mkt/care/meal-services/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/meal-services/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/meal-services/$ID/counts

Count children as served at a meal service, as they're served: only children checked in to the room now, and only today

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/meal-services/$ID/counts" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/meal-services/${id}/counts`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/membership-rules

Your check-in rules by membership status or type (allowed, blocked, or needs a payment at the desk), with the statuses and the membership types your families have

curl -s "https://api.cubbylark.com/v1/mkt/care/membership-rules" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/membership-rules`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/membership-rules

Add a check-in rule by membership status or type: allowed, blocked, or needs a payment at the desk first (owners and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/membership-rules" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/membership-rules`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/membership-rules/$ID

Remove a check-in rule by membership (owners and admins)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/membership-rules/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/membership-rules/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/messages

The latest family messages and what became of each (sent, combined into a digest, skipped and why), without their words; at most 200

curl -s "https://api.cubbylark.com/v1/mkt/care/messages" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/messages/channels

How family messages go out: email, push (families turn it on from their family view) and texts (Association plan; the kinds you pick, to guardians who agreed), each with its switch, limits and counts

curl -s "https://api.cubbylark.com/v1/mkt/care/messages/channels" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages/channels`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/messages/channels

Turn push or texts on or off, choose which kinds go by text, or set the daily text limit (owners and admins; the limit is an owner's). Nothing already sent is resent.

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/messages/channels" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages/channels`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/messages/deliver

Deliver family messages that are due now, under the same ceilings, switches and policy gate as the worker (admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/messages/deliver" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages/deliver`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/messages/kinds

The kinds of family message, each off until you turn it on, with what it says (English and Spanish previews)

curl -s "https://api.cubbylark.com/v1/mkt/care/messages/kinds" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages/kinds`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/messages/kinds/$KIND

Turn one kind of family message on or off (owners and admins); nothing is sent for what happened before it was on

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/messages/kinds/$KIND" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/messages/kinds/${kind}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/pickups/$ID

Remove someone from a child's pickup list

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/pickups/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/pickups/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/pickups/$ID/photo

The photo of someone who may collect a child, for staff checking them at pickup (each look is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/pickups/$ID/photo" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/pickups/${id}/photo`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/pickups/$ID/photo

Set or remove the photo of someone who may collect a child (with their consent, recorded; photos must be on for your organization)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/pickups/$ID/photo" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/pickups/${id}/photo`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PATCH /v1/mkt/care/programs/$ID

Change a program's name, end date, weekdays or pickup signatures, or archive it (site leads, admins, owners)

curl -s -X PATCH "https://api.cubbylark.com/v1/mkt/care/programs/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/programs/$ID/absences

Mark a child absent from a program on a day (the school or a parent called), with who said so

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/programs/$ID/absences" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/absences`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/programs/$ID/arrivals

Check enrolled children in to their program as they arrive (from school or the bus), as a group: refused when the room's ratio wouldn't hold. No tag: pickup checks the person's ID and, if the program asks, their signature

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/programs/$ID/arrivals" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/arrivals`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/programs/$ID/dismissal

A day's dismissal list: each enrolled child expected that day by school and how they leave it, and whether they're here, collected, absent or still expected

curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/dismissal" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/dismissal`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/programs/$ID/enrollments

A program's roster: each child's first name and initial, age, flags, school, grade and how they leave school (at most 1,000)

curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/enrollments" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/enrollments`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/programs/$ID/enrollments

Enroll a child in a program, with their school, grade and how they leave school (enrolling again updates those)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/programs/$ID/enrollments" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/enrollments`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/programs/$ID/registration

Open or close a program's registration: closing date, fee per child, capacity, how it's paid (member system or card through your Stripe account), and whether staff review each (site leads and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/programs/$ID/registration" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/registration`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/programs/$ID/registrations

A program's registrations, oldest first: the family's children (first names, initials), status, amount and how it's paid

curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/registrations" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/registrations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/programs/$ID/roster

Import a program's roster from a file (CSV with school, grade and dismissal columns): preview first, then file the families and enroll the children. Nothing is sent to anyone

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/programs/$ID/roster" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/programs/${id}/roster`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/registrations/$ID/decide

Enroll a registration's children, decline it, or mark it paid (paid through your member system) and enroll (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/registrations/$ID/decide" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/registrations/${id}/decide`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/reports/custom/fields

What a custom report can show: for each dataset, its columns, groups, counts and filters (children's names are marked; nothing sealed is on the list)

curl -s "https://api.cubbylark.com/v1/mkt/care/reports/custom/fields" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/custom/fields`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/reports/custom/run

Run a custom report on the sites you can see (at most 92 days and 5,000 rows), as JSON or CSV; children's names only for signed-in staff who may see children's records

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/reports/custom/run" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/custom/run`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/reports/saved

Your organization's saved reports and their schedules

curl -s "https://api.cubbylark.com/v1/mkt/care/reports/saved" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/saved`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/reports/saved

Save a custom report for your organization (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/reports/saved" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/saved`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/reports/saved/$ID

Rename or change a saved report, or archive it (site leads and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/reports/saved/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/saved/${id}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/reports/saved/$ID/run

Run a saved report for its dates (or other dates), as JSON or CSV

curl -s "https://api.cubbylark.com/v1/mkt/care/reports/saved/$ID/run" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/saved/${id}/run`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/reports/saved/$ID/schedule

Turn a report's schedule on or off: daily, weekly or monthly, the staff to tell (members of your organization, at most 10). They get a notice with a link, never the rows. At most 10 scheduled reports.

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/reports/saved/$ID/schedule" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/saved/${id}/schedule`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/reports/sites

Every site side by side for a date range: visits, children, families, child-hours, staff-hours, staff-hours the ratio needed and hours short (owners and admins; counts only; CSV with format=csv)

curl -s "https://api.cubbylark.com/v1/mkt/care/reports/sites" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reports/sites`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

DELETE /v1/mkt/care/reservation-groups/$ID

Cancel a family's booking or waitlist place for a session; the next waiting families that fit are booked

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/reservation-groups/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reservation-groups/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/reservation-groups/$ID/move

Move a family's booking to another session (booked or waitlisted there, as places allow); the old place goes to the waitlist

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/reservation-groups/$ID/move" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/reservation-groups/${id}/move`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/rooms/$ID/daily-summary

Today's daily-sheet counts for a room: children here, and how many meals, bottles, naps, diapers, activities, moods and photos were logged (no names)

curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/daily-summary" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/daily-summary`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/rooms/$ID/lesson-plans/$WEEK

A room's lesson plan for the week that includes this date (YYYY-MM-DD)

curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/lesson-plans/$WEEK" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/lesson-plans/${week}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/rooms/$ID/lesson-plans/$WEEK

Write a room's lesson plan for the week that includes this date (no children's details here)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/lesson-plans/$WEEK" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/lesson-plans/${week}`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/rooms/$ID/logs

Today's care logs for the children checked in to a room (medication shows as given, with the time; its detail opens one at a time)

curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/logs" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/logs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/rooms/$ID/meal-services

Start a meal service in a room today (one per meal type a day), with its menu; opening it again returns it

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/meal-services" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/meal-services`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/rooms/$ID/sessions

Publish a bookable session in a room (a start, an end, a capacity up to the room's), once or weekly for up to 12 weeks (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/sessions" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/sessions`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/rooms/$ID/shifts

Start a staff member's shift in a room (they count toward its ratio until it ends; one open shift each)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/shifts" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rooms/${id}/shifts`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/rules/$STATE

A state's licensing rules for each program type, each with its regulation section and source (reference, not legal advice)

curl -s "https://api.cubbylark.com/v1/mkt/care/rules/$STATE" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/rules/${state}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sample

Add a sample site with made-up families, to try check-in, ratios and pickups (every name is marked as a sample)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sample" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sample`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/sessions/$ID

Cancel a session: its bookings and waitlist are cancelled (nobody is messaged; tell families yourself or with an announcement)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/sessions/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sessions/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sessions/$ID/reservations

Who's booked for a session and who's waiting, in order (first names and initials, by family)

curl -s "https://api.cubbylark.com/v1/mkt/care/sessions/$ID/reservations" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sessions/${id}/reservations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sessions/$ID/reservations

Book a family's children into a session together, or put them on its waitlist together when they don't all fit

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sessions/$ID/reservations" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sessions/${id}/reservations`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/settings

Your organization's childcare switches (photos of children and pickups: off until turned on)

curl -s "https://api.cubbylark.com/v1/mkt/care/settings" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/settings

Turn photos of children and pickups on or off (owners and admins; each photo still needs a guardian's consent)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/activity-photos

Turn photos of the day on or off (owners). Separate from identification photos; each child also needs a guardian's consent. Turning it off deletes every photo of the day.

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/activity-photos" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/activity-photos`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/family-booking

Let families book sessions from their family view (owners and admins; off until turned on)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/family-booking" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/family-booking`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/family-messages

Set your organization's daily limit on family messages (owners; at most 20,000 a day)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/family-messages" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/family-messages`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/family-view

Turn the family view on or off: guardians you invite see their own children's check-ins and pickup list

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/family-view" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/family-view`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/guest-days

Set how many days a guest family may come (a month, a year, or the last 30 days), or no limit (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/guest-days" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/guest-days`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/kiosk-pin

Set the PIN staff enter to leave the check-in kiosk (4 to 8 digits; owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/kiosk-pin" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/kiosk-pin`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/settings/qualifications

Who counts toward each kind of room's ratio (the certifications required and a minimum age, with the site's state's own words beside them), whether the ratio counts only qualified staff, and the expiry notices

curl -s "https://api.cubbylark.com/v1/mkt/care/settings/qualifications" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/qualifications`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/settings/qualifications

Set who counts toward each kind of room's ratio, whether the ratio counts only qualified staff, and the certification expiry notices (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/qualifications" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/qualifications`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/settings/stripe-account

Connect (or disconnect) your organization's own Stripe account for card payments on registrations: the account id from your Stripe dashboard (owners)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings/stripe-account" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/stripe-account`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/settings/stripe-connect

Your Stripe account's state for card payments: connected, details submitted, able to take charges (read from Stripe; owners)

curl -s "https://api.cubbylark.com/v1/mkt/care/settings/stripe-connect" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/stripe-connect`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/settings/stripe-connect

Start (or continue) Stripe's own onboarding for your organization's Stripe account, for card payments on registrations: returns Stripe's link (owners, signed in)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/settings/stripe-connect" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/settings/stripe-connect`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/setup/checklist

What's left to set up: your site and rooms, families, staff, the kiosk, the first check-in and the first family invited to the family view

curl -s "https://api.cubbylark.com/v1/mkt/care/setup/checklist" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/setup/checklist`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/shifts/$ID/end

End a shift. Refused when it would leave a room short of the staff its children need

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/shifts/$ID/end" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/shifts/${id}/end`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites

The sites you work at (all sites for owners and admins)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sites

Add a site: a building where you care for children, in the state whose licensing rules apply

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/board

Each room right now: children checked in, staff on shift, what the state's ratio needs and whether it holds

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/board" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/board`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/sites/$ID/cacfp

Say whether a site claims the USDA food program (CACFP) and in which component: a center, or at-risk afterschool (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/sites/$ID/cacfp" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/cacfp`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/cacfp/claim

A site's CACFP claim for a month: each meal type served and claimable, by eligibility category (format=csv for a file)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/cacfp/claim" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/cacfp/claim`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/classes

A site's classes between two times (today by default) with how many are checked in and places left

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/classes" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/classes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sites/$ID/classes

Add a class to a site's schedule (a name, instructor, place, local date and times, capacity; weekly for up to 12 weeks) (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites/$ID/classes" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/classes`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/sites/$ID/classes/import

Import a class schedule from a file (CSV: name, instructor, location, date, start, end, capacity, weeks): preview first, then add (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites/$ID/classes/import" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/classes/import`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/exports/subsidy

A month's subsidy attendance for a site: each subsidized child's days (first in, last out, minutes, who collected them, or absent and why), with the case number, as JSON or CSV for the state's portal (site leads and admins; each export recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/exports/subsidy" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/exports/subsidy`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/forms-due

Families of a site (checked in in the last 90 days) missing a form, or whose form has expired or expires in 14 days (site leads and admins; at most 500)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/forms-due" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/forms-due`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/incidents

A site's incidents over the last days (kind, child's first name, times, whether the guardian was told and acknowledged); what happened opens one at a time

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/incidents" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/incidents`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/meal-services

A site's meal services on a day (today by default), with how many children were counted at each

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/meal-services" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/meal-services`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/offline-pack

This site's copy for offline check-in on a staff device: rooms and staff on shift, who's checked in, and the site's families for finding them and checking pickups (no notes, photos or contact details; each download recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/offline-pack" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/offline-pack`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/programs

A site's after-school and camp programs: days, dates, room and how many children are enrolled

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/programs" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/programs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sites/$ID/programs

Add an after-school or camp program at a site: its room, weekdays, dates, and whether pickups sign (site leads, admins, owners)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites/$ID/programs" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/programs`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/reports/attendance

Attendance records for a site and date range: each visit with the child's name, room, program, times and who brought and collected them (site leads and admins; each export recorded; CSV with format=csv)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/attendance" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/reports/attendance`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/reports/classes

Class attendance over a date range by class and by instructor: classes held, check-ins, average and fill rate (counts only)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/classes" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/reports/classes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/reports/staffing

Staffing from real attendance: per room, child-hours, staff-hours, the hours the ratio needed and the hours short; and the average children and staff needed by weekday and hour (counts only; CSV with format=csv)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/staffing" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/reports/staffing`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/reports/usage

Usage for a site by day: visits, children, families, average stay and the busiest hour (counts only; CSV with format=csv)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/usage" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/reports/usage`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/rooms

A site's rooms with their program type, ages and capacity

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/rooms" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/rooms`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/sites/$ID/rooms

Add a room to a site: its program type (whose licensing rules apply), ages and capacity

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites/$ID/rooms" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/rooms`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/sites/$ID/rosters

Import several programs' rosters from one file (CSV with a program column naming each row's program at this site): preview first, then file the families and enroll each child in their program. Nothing is sent to anyone

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites/$ID/rosters" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/rosters`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/sessions

A site's sessions between two times (the next 7 days by default) with booked, waiting and places left (no names)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/sessions" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/sessions`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/sync-conflicts

What offline devices sent that couldn't be applied as it was, for a site lead to accept or dismiss (open first)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/sync-conflicts" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/sync-conflicts`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/visits

Who's checked in at a site now (first names, rooms, flags), or today's check-ins and check-outs. At most 500

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/visits" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/visits`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/sites/$ID/whereabouts

Where everyone is at a site now: each room's children with where their parent is (first names and initials for staff who may see children; counts and parents' locations otherwise)

curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/whereabouts" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sites/${id}/whereabouts`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/staff

Your organization's childcare staff, their roles and sites (owners and admins see everyone; others see their sites')

curl -s "https://api.cubbylark.com/v1/mkt/care/staff" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/staff

Add a staff member (optionally a member of your organization, or someone invited: invitation_id from POST /v1/invitations, linked when they accept) with a role and the sites they work at

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/staff" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/staff-certs/$ID

Strike out a certification recorded by mistake or replaced (kept on the record with who and when; owners and admins)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/staff-certs/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff-certs/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/staff-certs/expiring

Certifications and background checks expired or expiring in the next 60 days, by staff member (owners and admins see everyone; site leads their sites' staff). No report contents

curl -s "https://api.cubbylark.com/v1/mkt/care/staff-certs/expiring" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff-certs/expiring`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PATCH /v1/mkt/care/staff/$ID

Change a staff member's role and the sites they work at, or remove them (owners and admins)

curl -s -X PATCH "https://api.cubbylark.com/v1/mkt/care/staff/$ID" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/staff/$ID/certs

Record a staff member's certification or background-check status, with the date checked and when it expires (owners and admins; the report itself is never stored)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/staff/$ID/certs" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff/${id}/certs`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

PUT /v1/mkt/care/staff/$ID/date-of-birth

Record a staff member's date of birth, for the minimum age to count toward a ratio (owners and admins)

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/staff/$ID/date-of-birth" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff/${id}/date-of-birth`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/staff/$ID/qualifications

A staff member's certifications and background-check status (never the report), and for each kind of room whether they count toward its ratio and why not

curl -s "https://api.cubbylark.com/v1/mkt/care/staff/$ID/qualifications" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/staff/${id}/qualifications`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/support-grants

Support access you have given: who, why, until when, and whether it is still live (owners and admins; at most 50, newest first)

curl -s "https://api.cubbylark.com/v1/mkt/care/support-grants" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/support-grants`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/support-grants

Let one of our support team see your families and site counts for a set time (1–72 hours), with a reason; never medical or custody notes or photos (owners, signed in)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/support-grants" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/support-grants`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

DELETE /v1/mkt/care/support-grants/$ID

End support access now (owners, signed in)

curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/support-grants/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/support-grants/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

GET /v1/mkt/care/support/thread

Your organization's conversation with our support team, oldest first, and whether support access is live (owners and admins)

curl -s "https://api.cubbylark.com/v1/mkt/care/support/thread" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/support/thread`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

POST /v1/mkt/care/support/thread

Write to our support team (owners and admins; leave out children's details: if we need to see a family, give support access for a few hours)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/support/thread" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/support/thread`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/sync

Send what a staff device did while offline (check-ins and releases, in order): each is applied against what's true now, once; what can't be applied as it was goes to the site lead as a conflict

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sync" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sync`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/sync-conflicts/$ID/resolve

Accept an offline conflict (record the check-in or release as it happened, with your reason) or dismiss it (site leads and admins)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sync-conflicts/$ID/resolve" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/sync-conflicts/${id}/resolve`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits

Check children in to a room (one family's, together): refused when the room is full or the staff on shift wouldn't keep the ratio. Returns a label for each child and one pickup tag, sharing a code shown once

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits/$ID/check-out

Check a child out to the person collecting them: an authorized pickup with the tag's code, or a site lead's override with a reason. A blocked person is always refused

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits/$ID/check-out" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/check-out`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits/$ID/incidents

Record an incident (injury, illness, behavior) during a child's visit: what happened (kept sealed), first aid, who saw it

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits/$ID/incidents" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/incidents`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits/$ID/logs

Log care for a child who's checked in: a diaper change, a nap (start; end it later), a meal (how much was eaten), a bottle (what and how much), an activity, the child's mood, a note, a photo of the day (activity photos on, the guardian's consent, only this child in it), or medication given (with the guardian's written authorization on file; name and dose kept sealed)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits/$ID/logs" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/logs`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits/$ID/move

Move a checked-in child to another room at the same site (refused when that room is full, outside the child's age, or short of staff for the ratio); the move is kept

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits/$ID/move" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/move`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/visits/$ID/moves

Where a child was during a visit: the room they were checked in to, each move, and each change of where the parent was

curl -s "https://api.cubbylark.com/v1/mkt/care/visits/$ID/moves" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/moves`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

PUT /v1/mkt/care/visits/$ID/parent-location

Change where the parent is on site during the visit (for the family's children here together); each change is kept

curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/visits/$ID/parent-location" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/parent-location`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/mkt/care/visits/$ID/reprint

Print a new label and tag (a new code; the old tag stops working)

curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits/$ID/reprint" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/reprint`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/mkt/care/visits/$ID/signature

The signature given at a child's pickup, for a site lead or admin (each view is recorded)

curl -s "https://api.cubbylark.com/v1/mkt/care/visits/$ID/signature" \
  -H "Authorization: Bearer $KC_API_KEY"
const res = await fetch(`https://api.cubbylark.com/v1/mkt/care/visits/${id}/signature`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.KC_API_KEY}` },
});
const data = await res.json();

Request and response schemas: https://www.cubbylark.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.