{"name":"Krama API","version":"1.0.0","last_commit":"e1b39c2","status":"running","documentation":"/docs","endpoints":{"health":"/health","adminBookings":{"list":"GET /v1/admin/bookings (admin)","updateStatus":"PATCH /v1/admin/bookings/:id/status (admin)","batchCheckIn":"POST /v1/admin/bookings/batch-check-in (admin)"},"adminSessions":{"close":"POST /v1/admin/sessions/:id/close (admin)"},"auth":{"register":"POST /v1/auth/register","login":"POST /v1/auth/login","me":"GET /v1/auth/me (protected)","profile":"PUT /v1/auth/profile (protected)","preferences":"PUT /v1/auth/preferences (protected)","password":"PUT /v1/auth/password (protected)","forgotPassword":"POST /v1/auth/forgot-password","resetPassword":"POST /v1/auth/reset-password","apiKeys":{"create":"POST /v1/auth/api-keys (protected)","list":"GET /v1/auth/api-keys (protected)","delete":"DELETE /v1/auth/api-keys/:id (protected)","revokeAll":"POST /v1/auth/api-keys/revoke-all (protected)"}},"availability":{"get":"GET /v1/availability/:facilitatorId","update":"PUT /v1/availability/:facilitatorId (facilitator)"},"bookings":{"my":"GET /v1/bookings/my (protected)","upcoming":"GET /v1/bookings/upcoming (protected)","history":"GET /v1/bookings/history (protected)","get":"GET /v1/bookings/:id (protected)","create":"POST /v1/bookings (protected)","cancel":"POST /v1/bookings/:id/cancel (protected)","checkIn":"POST /v1/bookings/:id/check-in (protected)","noShow":"POST /v1/bookings/:id/no-show (admin)","calendar":"GET /v1/bookings/:id/calendar (protected)","waitlist":"GET /v1/bookings/waitlist/:scheduleId","waitlistPosition":"GET /v1/bookings/waitlist/:scheduleId/position (protected)"},"calendar":{"events":"GET /v1/calendar?locationId=&startDate=&endDate= (protected)","feed":"GET /v1/calendar/feed.ics?locationId= (protected)"},"companies":{"create":"POST /v1/companies (admin)","list":"GET /v1/companies (admin)","get":"GET /v1/companies/:id (admin/company-admin)","update":"PATCH /v1/companies/:id (admin/company-admin)"},"compensation":{"rules":"GET /v1/compensation/rules (admin)","createRule":"POST /v1/compensation/rules (admin)","updateRule":"PUT /v1/compensation/rules/:id (admin)","deleteRule":"DELETE /v1/compensation/rules/:id (admin)","platformFees":"GET /v1/compensation/platform-fees (admin)"},"currencies":{"list":"GET /v1/currencies","get":"GET /v1/currencies/:code","note":"Use ?base=EUR to convert rates to any base currency"},"customers":{"list":"GET /v1/customers (admin)","get":"GET /v1/customers/:id (admin)","update":"PATCH /v1/customers/:id (admin)","delete":"DELETE /v1/customers/:id (admin)","bookings":"GET /v1/customers/:id/bookings (admin)","purchases":"GET /v1/customers/:id/purchases (admin)","paymentHistory":"GET /v1/customers/:id/payment-history (admin)","adjustBalance":"PATCH /v1/customers/:id/account-balance (admin)","waiveBalance":"POST /v1/customers/:id/waive-balance (admin)","paymentStatus":"PATCH /v1/customers/:id/payment-status (admin)"},"earnings":{"my":"GET /v1/earnings/my (facilitator)","summary":"GET /v1/earnings/summary (facilitator)","payouts":"GET /v1/earnings/payouts (facilitator)"},"favorites":{"list":"GET /v1/favorites (protected)","addFacilitator":"POST /v1/favorites/facilitators/:id (protected)","removeFacilitator":"DELETE /v1/favorites/facilitators/:id (protected)","addSessionType":"POST /v1/favorites/session-types/:id (protected)","removeSessionType":"DELETE /v1/favorites/session-types/:id (protected)"},"groups":{"my":"GET /v1/groups/my (protected)","get":"GET /v1/groups/:id (protected)","members":"GET /v1/groups/:id/members (owner)","invite":"POST /v1/groups/:id/invite (owner)","removeMember":"DELETE /v1/groups/:id/members/:memberId (owner)","updateMember":"PATCH /v1/groups/:id/members/:memberId (owner)","acceptInvite":"POST /v1/groups/invites/:token/accept (protected)","declineInvite":"POST /v1/groups/invites/:token/decline (protected)"},"languages":{"list":"GET /v1/languages","get":"GET /v1/languages/:code"},"locations":{"list":"GET /v1/locations","get":"GET /v1/locations/:id","create":"POST /v1/locations (admin)","update":"PUT /v1/locations/:id (admin)","delete":"DELETE /v1/locations/:id (admin)"},"payments":{"intent":"POST /v1/payments/intent (protected)","confirm":"POST /v1/payments/confirm (protected)","refund":"POST /v1/payments/refund/:id (admin)","my":"GET /v1/payments/my (protected)","methods":"GET /v1/payments/methods (protected)","webhook":"POST /v1/payments/webhook"},"plans":{"list":"GET /v1/plans","get":"GET /v1/plans/:id","create":"POST /v1/plans (admin)","update":"PUT /v1/plans/:id (admin)","delete":"DELETE /v1/plans/:id (admin)","purchase":"POST /v1/plans/purchase (protected)","myActive":"GET /v1/plans/my/active (protected)"},"points":{"balance":"GET /v1/points/balance (protected)","history":"GET /v1/points/history (protected)","rules":"GET /v1/points/rules","spend":"POST /v1/points/spend (protected)","award":"POST /v1/points/award (admin)","adjust":"POST /v1/points/adjust (admin)"},"facilitators":{"list":"GET /v1/facilitators","get":"GET /v1/facilitators/:id","create":"POST /v1/facilitators (admin)","update":"PUT /v1/facilitators/:id (admin)","delete":"DELETE /v1/facilitators/:id (admin)"},"privateSessions":{"my":"GET /v1/private-sessions/my (protected)","request":"POST /v1/private-sessions (protected)","confirm":"POST /v1/private-sessions/:id/confirm (facilitator)","decline":"POST /v1/private-sessions/:id/decline (facilitator)","complete":"POST /v1/private-sessions/:id/complete (facilitator)","invite":"POST /v1/private-sessions/:id/invite (booker/facilitator/admin)","acceptParticipation":"POST /v1/private-sessions/:id/invite-accept (participant)","declineParticipation":"POST /v1/private-sessions/:id/invite-decline (participant)","removeParticipant":"DELETE /v1/private-sessions/:id/participants/:userId (booker/facilitator/admin)"},"sessions":{"list":"GET /v1/sessions","get":"GET /v1/sessions/:id","create":"POST /v1/sessions (admin)","update":"PUT /v1/sessions/:id (admin)","delete":"DELETE /v1/sessions/:id (admin)","schedule":"GET /v1/sessions/schedule","scheduleById":"GET /v1/sessions/schedule/:id","createSchedule":"POST /v1/sessions/schedule (admin)","updateSchedule":"PATCH /v1/sessions/schedule/:id (admin)"},"sync":{"pull":"GET /v1/sync/pull (protected)","push":"POST /v1/sync/push (protected)","schema":"GET /v1/sync/schema (protected)"},"uploads":{"profilePhoto":"POST /v1/uploads/profile-photo (protected)","deletePhoto":"DELETE /v1/uploads/profile-photo (protected)","adminUserPhoto":"POST /v1/uploads/user/:id/photo (admin)"}}}