# API: Childcare

| Method | Path | What it does | Scope |
|---|---|---|---|
| DELETE | `/v1/mkt/care/absences/:id` | Undo an absence (the child is expected after all) | `care:write` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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 | `care:read` |
| 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) | `care:write` |
| DELETE | `/v1/mkt/care/booking-embeds/:id` | Take a booking page down for good (its snippet stops working at once) | `care:write` |
| PUT | `/v1/mkt/care/booking-embeds/:id` | Change which websites may show a booking page, or turn it off and on (owners and admins) | `care:write` |
| GET | `/v1/mkt/care/children/:id` | A 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-consent` | 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) | `care:write` |
| 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 | `children:read` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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) | `care:write` |
| 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) | `care:write` |
| GET | `/v1/mkt/care/children/:id/visits` | A child's recent check-ins and check-outs (the attendance record), newest first, at most 100 | `children:read` |
| DELETE | `/v1/mkt/care/classes/:id` | Cancel a class (site leads and admins) | `care:write` |
| 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 | `care:write` |
| DELETE | `/v1/mkt/care/enrollments/:id` | Take a child off a program's roster (their attendance stays) | `care:write` |
| 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 | `children:read` |
| 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) | `children:read` |
| 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 | `care:read` |
| 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 | `care:write` |
| 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) | `care:write` |
| DELETE | `/v1/mkt/care/forms/:id/pdf` | Take the PDF off a form (owners and admins); signed copies families already made are kept | `care:write` |
| 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 | `care:read` |
| 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. | `care:write` |
| 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) | `care:write` |
| 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 | `care:write` |
| 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) | `care:write` |
| DELETE | `/v1/mkt/care/guardians/:id/family-access` | End a guardian's access to the family view (every open session ends now) | `care:write` |
| 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) | `care:write` |
| 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 | `children:read` |
| POST | `/v1/mkt/care/households` | Add a family by hand (most come from your member system or a roster file) | `care:write` |
| GET | `/v1/mkt/care/households/:id` | A family: its children (names, ages, flags), guardians and each child's pickups | `children:read` |
| POST | `/v1/mkt/care/households/:id/children` | Add a child to a family; the family's guardians become the child's authorized pickups | `care:write` |
| 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) | `children:read` |
| POST | `/v1/mkt/care/households/:id/guardians` | Add a guardian to a family; they become an authorized pickup for each of its children | `care:write` |
| PUT | `/v1/mkt/care/households/:id/guest` | Mark a family as a guest (not a member) or not | `care:write` |
| 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) | `care:read` |
| 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) | `care:write` |
| 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 | `children:read` |
| 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) | `care:write` |
| POST | `/v1/mkt/care/imports` | Import families from a roster file (CSV): preview first, then file them. Nothing is sent to anyone | `care:write` |
| 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 | `care:write` |
| GET | `/v1/mkt/care/incidents/:id` | An incident with what happened, for staff of its site (each look is recorded) | `children:read` |
| 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 | `care:write` |
| POST | `/v1/mkt/care/incidents/:id/guardian-told` | Record that the guardian was told about an incident: how and when | `care:write` |
| GET | `/v1/mkt/care/kiosk` | Whether this device is a check-in kiosk, and for which site | `care:read` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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) | `care:read` |
| 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) | `children:read` |
| POST | `/v1/mkt/care/logs/:id/end` | End a nap | `care:write` |
| DELETE | `/v1/mkt/care/meal-counts/:id` | Strike out a count marked by mistake (kept on the record with who and when, not deleted) | `care:write` |
| 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 | `children:read` |
| 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 | `care:write` |
| 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 | `care:read` |
| 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) | `care:write` |
| DELETE | `/v1/mkt/care/membership-rules/:id` | Remove a check-in rule by membership (owners and admins) | `care:write` |
| 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 | `care:read` |
| 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 | `care:read` |
| 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. | `care:write` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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 | `care:write` |
| DELETE | `/v1/mkt/care/pickups/:id` | Remove someone from a child's pickup list | `care:write` |
| 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) | `children:read` |
| 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) | `care:write` |
| PATCH | `/v1/mkt/care/programs/:id` | Change 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/absences` | Mark a child absent from a program on a day (the school or a parent called), with who said so | `care:write` |
| 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 | `care:write` |
| 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 | `children:read` |
| 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) | `children:read` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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 | `children:read` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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 | `care:read` |
| GET | `/v1/mkt/care/reports/saved` | Your organization's saved reports and their schedules | `care:read` |
| POST | `/v1/mkt/care/reports/saved` | Save a custom report for your organization (site leads and admins) | `care:write` |
| PUT | `/v1/mkt/care/reports/saved/:id` | Rename or change a saved report, or archive it (site leads and admins) | `care:write` |
| GET | `/v1/mkt/care/reports/saved/:id/run` | Run a saved report for its dates (or other dates), as JSON or CSV | `care:read` |
| 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. | `care:write` |
| 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) | `care:read` |
| 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 | `care:write` |
| 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 | `care:write` |
| 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) | `care:read` |
| GET | `/v1/mkt/care/rooms/:id/lesson-plans/:week` | A room's lesson plan for the week that includes this date (YYYY-MM-DD) | `care:read` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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 | `care:write` |
| GET | `/v1/mkt/care/settings` | Your organization's childcare switches (photos of children and pickups: off until turned on) | `care:read` |
| 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) | `care:write` |
| 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. | `care:write` |
| PUT | `/v1/mkt/care/settings/family-booking` | Let families book sessions from their family view (owners and admins; off until turned on) | `care:write` |
| PUT | `/v1/mkt/care/settings/family-messages` | Set your organization's daily limit on family messages (owners; at most 20,000 a day) | `care:write` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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 | `care:read` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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) | `care:write` |
| 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 | `care:read` |
| POST | `/v1/mkt/care/shifts/:id/end` | End a shift. Refused when it would leave a room short of the staff its children need | `care:write` |
| GET | `/v1/mkt/care/sites` | The sites you work at (all sites for owners and admins) | `care:read` |
| POST | `/v1/mkt/care/sites` | Add a site: a building where you care for children, in the state whose licensing rules apply | `care:write` |
| 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 | `care:read` |
| 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) | `care:write` |
| 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) | `care:read` |
| 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 | `care:read` |
| 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) | `care:write` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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) | `children:read` |
| 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 | `children:read` |
| 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 | `care:read` |
| 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) | `children:read` |
| GET | `/v1/mkt/care/sites/:id/programs` | A site's after-school and camp programs: days, dates, room and how many children are enrolled | `care:read` |
| 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) | `care:write` |
| 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) | `children:read` |
| 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) | `care:read` |
| 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) | `care:read` |
| 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) | `care:read` |
| GET | `/v1/mkt/care/sites/:id/rooms` | A site's rooms with their program type, ages and capacity | `care:read` |
| POST | `/v1/mkt/care/sites/:id/rooms` | Add a room to a site: its program type (whose licensing rules apply), ages and capacity | `care:write` |
| 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 | `care:write` |
| 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) | `care:read` |
| 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) | `care:read` |
| 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 | `children:read` |
| 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) | `care:read` |
| GET | `/v1/mkt/care/staff` | Your organization's childcare staff, their roles and sites (owners and admins see everyone; others see their sites') | `care:read` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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 | `care:read` |
| PATCH | `/v1/mkt/care/staff/:id` | Change 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/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) | `care:write` |
| 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) | `care:write` |
| 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 | `care:read` |
| 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) | `care:read` |
| 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) | `care:write` |
| DELETE | `/v1/mkt/care/support-grants/:id` | End support access now (owners, signed in) | `care:write` |
| 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) | `care:read` |
| 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) | `care:write` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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 | `care:write` |
| 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 | `care:write` |
| 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 | `care:write` |
| 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) | `care:write` |
| 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 | `care:write` |
| 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 | `children:read` |
| 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 | `care:write` |
| POST | `/v1/mkt/care/visits/:id/reprint` | Print a new label and tag (a new code; the old tag stops working) | `care:write` |
| 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) | `children:read` |

## Examples

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

Undo an absence (the child is expected after all)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/absences/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/announcements" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/audit/restricted-reads" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/booking-embeds" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/booking-embeds/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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();
```

### PUT /v1/mkt/care/children/$ID/activity-photo-consent

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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/daily-sheet" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/restricted" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/children/$ID/visits" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/classes/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/enrollments/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/form-submissions/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/form-submissions/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/forms" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/forms" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/forms/$ID/pdf" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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.

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/guardians/$ID/family-access" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/households" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/households" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/forms" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/guest-days" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/households/$ID/membership" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/imports" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/incidents/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/kiosk" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/kiosk" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/limits" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/logs/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/meal-counts/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/meal-services/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/membership-rules" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/membership-rules/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/messages" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/messages/channels" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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.

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/messages/kinds" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/pickups/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/pickups/$ID/photo" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/dismissal" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/enrollments" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/programs/$ID/registrations" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/reports/custom/fields" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/reports/saved" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/reports/saved/$ID/run" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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.

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/reports/sites" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/reservation-groups/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/daily-summary" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/lesson-plans/$WEEK" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/rooms/$ID/logs" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/rules/$STATE" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sample" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/sessions/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sessions/$ID/reservations" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/settings" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s -X PUT "https://api.cubbylark.com/v1/mkt/care/settings" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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.

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/settings/qualifications" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/settings/stripe-connect" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/setup/checklist" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sites" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/board" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/cacfp/claim" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/classes" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/exports/subsidy" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/forms-due" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/incidents" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/meal-services" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/offline-pack" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/programs" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/attendance" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/classes" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/staffing" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/reports/usage" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/rooms" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/sessions" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/sync-conflicts" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/visits" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/sites/$ID/whereabouts" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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')

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/staff" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/staff" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/staff-certs/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/staff-certs/expiring" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/staff/$ID/qualifications" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/support-grants" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s -X DELETE "https://api.cubbylark.com/v1/mkt/care/support-grants/$ID" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/support/thread" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/sync" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
curl -s -X POST "https://api.cubbylark.com/v1/mkt/care/visits" \
  -H "Authorization: Bearer $KC_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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

```bash
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 '{}'
```

```js
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

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/visits/$ID/moves" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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

```bash
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 '{}'
```

```js
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)

```bash
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 '{}'
```

```js
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)

```bash
curl -s "https://api.cubbylark.com/v1/mkt/care/visits/$ID/signature" \
  -H "Authorization: Bearer $KC_API_KEY"
```

```js
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](https://www.cubbylark.com/openapi.json). All resources: [API reference](https://www.cubbylark.com/docs/api).
