Glofox MCP server for AI agents
Let Claude, ChatGPT or your own agent read and act on Glofox: 25 typed functions through one MCP server. No Glofox API key needed.
- Site
- glofox.com
- Functions
- 25
- Sign-in
- For account actions
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for Glofox alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/glofoxOne MCP server for Glofox and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.
Functions
Open a function to see its arguments, what it returns and how to call it.
findStudioFinds a Glofox studio (a 'branch') from what a caller has: its Glofox namespace ("barazayoga"), its 24-hex branch id, an…Arguments
Name Type Required studiostringYes Returns
glofoxStudiointerface glofoxStudio { /** 24-hex branch id, pass it back as `studio`. */ branchId: string; namespace: string; name: string; city: string | null; country: string | null; timezone: string | null; currency: string | null; website: string | null; portalUrl: string; /** Where the PERSON picks a class and books, signed in to the studio's portal. Bowmark does not book it. */ checkout: glofoxCheckout | null; } interface glofoxCheckout { status: "ready_to_checkout" | "needs_login" | "unavailable"; /** Always https, on the studio's own site. */ url: string; /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */ urlKind?: "carries_items" | "signed_in_cart" | "product_page"; /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */ reason?: string; detail?: string; account: { site: string; hint: string; signedInAs?: string; signInUrl?: string }; summary: { items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[]; total: string | null; currency: string; /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */ dates?: { start: string; end?: string }; } | null; warnings: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/findStudioCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.findStudio({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.findStudio({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/findStudio \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.findStudio({ studio: "barazayoga" });getClassReturns one scheduled class by id, with its description, trainers, room, capacity, booked and waitlist counts, and its booking window.Arguments
Name Type Required studiostringYes classIdstringYes Returns
glofoxClassinterface glofoxClass { id: string; name: string; description: string | null; /** ISO instant. */ start: string; durationMinutes: number | null; level: string | null; classTypeId: string | null; trainerIds: string[]; roomId: string | null; capacity: number | null; booked: number | null; waiting: number | null; /** Glofox's own state, e.g. AVAILABLE. */ status: string | null; online: boolean; imageUrl: string | null; /** ISO instant; null when the window has no separate open time. */ bookingOpensAt: string | null; /** ISO instant the class stops taking bookings. */ bookingClosesAt: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/getClassCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.getClass({ studio: "barazayoga", classId: "6a6fffa9200b6f8f680107b9" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.getClass({ "studio": "barazayoga", "classId": "6a6fffa9200b6f8f680107b9" }))curl -X POST https://api.bowmark.ai/v1/sites/glofox/getClass \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga","classId":"6a6fffa9200b6f8f680107b9"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.getClass({ studio: "barazayoga", classId: "6a6fffa9200b6f8f680107b9" });getMyProfileReturns the signed-in member's own profile at that studio: name, email, phone, birth date, photo and membership summary.Arguments
Name Type Required studiostringYes Returns
glofoxMyProfileinterface glofoxMyProfile { studio: string; id: string | null; firstName: string | null; lastName: string | null; email: string | null; phone: string | null; birthDate: string | null; imageUrl: string | null; membership: { id: string | null; name: string | null; type: string | null } | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/getMyProfileCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.getMyProfile({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.getMyProfile({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/getMyProfile \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.getMyProfile({ studio: "barazayoga" });getPriceReturns what one class costs a drop-in before booking.Arguments
Name Type Required studiostringYes classIdstringThe class id from listClasses.Yes Returns
glofoxPriceinterface glofoxPrice { studio: string; classId: string; /** False when only certain memberships may book it; no drop-in price is quoted then. */ openToDropIn: boolean; price: number | null; currency: string | null; credits: number | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/getPriceCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.getPrice({ studio: "<studio>", classId: "<classId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.getPrice({"studio": "<studio>", "classId": "<classId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/getPrice \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","classId":"<classId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.getPrice({ studio: "<studio>", classId: "<classId>" });getStudioReturns one studio's profile: name, address and coordinates, time zone, currency, phone, website, opening hours, and its booking and cancellation…Arguments
Name Type Required studiostringYes Returns
glofoxStudioProfileinterface glofoxStudio { /** 24-hex branch id, pass it back as `studio`. */ branchId: string; namespace: string; name: string; city: string | null; country: string | null; timezone: string | null; currency: string | null; website: string | null; portalUrl: string; /** Where the PERSON picks a class and books, signed in to the studio's portal. Bowmark does not book it. */ checkout: glofoxCheckout | null; } interface glofoxCheckout { status: "ready_to_checkout" | "needs_login" | "unavailable"; /** Always https, on the studio's own site. */ url: string; /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */ urlKind?: "carries_items" | "signed_in_cart" | "product_page"; /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */ reason?: string; detail?: string; account: { site: string; hint: string; signedInAs?: string; signInUrl?: string }; summary: { items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[]; total: string | null; currency: string; /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */ dates?: { start: string; end?: string }; } | null; warnings: string[]; } interface glofoxStudioProfile extends glofoxStudio { email: string | null; phone: string | null; address: { street: string | null; postalCode: string | null; state: string | null } | null; latitude: number | null; longitude: number | null; about: string | null; logoUrl: string | null; openingTimes: { day: string; open: boolean; start: string | null; end: string | null }[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/getStudioCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.getStudio({ studio: "6155e490fdd54b3a7e0f51af" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.getStudio({"studio": "6155e490fdd54b3a7e0f51af"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/getStudio \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"6155e490fdd54b3a7e0f51af"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.getStudio({ studio: "6155e490fdd54b3a7e0f51af" });listAppointmentTypesLists the one-to-one appointments a studio sells (personal training, consultations) with length, price and which trainers give them.Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxAppointmentTypePageinterface glofoxAppointmentType { id: string; name: string; description: string | null; active: boolean; pricing: string | null; slotLengthMinutes: number | null; trainerIds: string[]; categoryIds: string[]; } interface glofoxAppointmentTypePage { studio: string; page: number; hasMore: boolean; totalCount: number | null; appointmentTypes: glofoxAppointmentType[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listAppointmentTypesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listAppointmentTypes({ studio: "glofox" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listAppointmentTypes({"studio": "glofox"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listAppointmentTypes \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"glofox"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listAppointmentTypes({ studio: "glofox" });listClassesLists a studio's class schedule for a date range, optionally narrowed to a class type, trainer or room: each class's id, name, start time, duration…Arguments
Name Type Required studiostringYes fromstring"YYYY-MM-DD" in the studio's own time zone; default today.No tostring"YYYY-MM-DD", inclusive; default from + 6 days; at most 31 days.No pagenumber1-based; read hasMore.No limitnumber1-100, default 50.No Returns
glofoxClassPageinterface glofoxCheckout { status: "ready_to_checkout" | "needs_login" | "unavailable"; /** Always https, on the studio's own site. */ url: string; /** ready_to_checkout only: carries_items opens this very slot, product_page opens the studio's schedule. */ urlKind?: "carries_items" | "signed_in_cart" | "product_page"; /** unavailable only: out_of_stock (class full, no waitlist) or not_available_for_dates (cancelled). */ reason?: string; detail?: string; account: { site: string; hint: string; signedInAs?: string; signInUrl?: string }; summary: { items: { title: string; variant: string | null; quantity: number; unitPrice: string | null; lineTotal: string | null; url?: string; id?: string }[]; total: string | null; currency: string; /** ISO start/end of the class or slot, with the studio's UTC offset when the site gives one. */ dates?: { start: string; end?: string }; } | null; warnings: string[]; } interface glofoxClass { id: string; name: string; description: string | null; /** ISO instant. */ start: string; durationMinutes: number | null; level: string | null; classTypeId: string | null; trainerIds: string[]; roomId: string | null; capacity: number | null; booked: number | null; waiting: number | null; /** Glofox's own state, e.g. AVAILABLE. */ status: string | null; online: boolean; imageUrl: string | null; /** ISO instant; null when the window has no separate open time. */ bookingOpensAt: string | null; /** ISO instant the class stops taking bookings. */ bookingClosesAt: string | null; } interface glofoxClassPage { studio: string; from: string; to: string; page: number; hasMore: boolean; totalCount: number | null; classes: glofoxClass[]; /** Where the PERSON picks one of these classes and books, signed in to the studio's portal. Bowmark does not book it. */ checkout: glofoxCheckout | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listClassesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listClasses({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listClasses({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listClasses \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listClasses({ studio: "barazayoga" });listClassTypesLists a studio's class types ('programs') with their description and pricing (pay-as-you-go and per-membership).Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxClassTypePageinterface glofoxClassTypePrice { name: string | null; price: number | null; /** "payg" or "member" (spends a membership/credit). */ billingType: string | null; membershipId: string | null; } interface glofoxClassType { id: string; name: string; description: string | null; isFree: boolean; pricing: glofoxClassTypePrice[]; imageUrl: string | null; } interface glofoxClassTypePage { studio: string; page: number; hasMore: boolean; totalCount: number | null; classTypes: glofoxClassType[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listClassTypesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listClassTypes({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listClassTypes({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listClassTypes \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listClassTypes({ studio: "barazayoga" });listCoursesLists a studio's multi-week courses (teacher trainings, beginner series) with their schedule of sessions, trainers, room, size and pricing.Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxCoursePageinterface glofoxCourseSession { start: string | null; end: string | null; weekday: string | null; size: number | null; facilityId: string | null; } interface glofoxCourseSchedule { /** The schedule id a course booking is made against. */ id: string; label: string | null; startDate: string | null; endDate: string | null; size: number | null; booked: number | null; status: string | null; sessions: glofoxCourseSession[]; } interface glofoxCourse { id: string; name: string; description: string | null; facilityId: string | null; facilityName: string | null; trainers: { id: string; name: string }[]; pricing: { type: string; name: string | null; price: number | null }[]; schedules: glofoxCourseSchedule[]; } interface glofoxCoursePage { studio: string; page: number; hasMore: boolean; totalCount: number | null; courses: glofoxCourse[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listCoursesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listCourses({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listCourses({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listCourses \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listCourses({ studio: "barazayoga" });listFacilitiesLists a studio's bookable rooms and spaces (courts, studios, saunas) with description, capacity and photo.Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxFacilityPageinterface glofoxFacility { id: string; name: string; description: string | null; active: boolean; /** Visible and bookable on the studio's own schedule. */ listVisible: boolean; online: boolean; imageUrl: string | null; } interface glofoxFacilityPage { studio: string; page: number; hasMore: boolean; totalCount: number | null; facilities: glofoxFacility[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listFacilitiesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listFacilities({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listFacilities({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listFacilities \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listFacilities({ studio: "barazayoga" });listFacilitySlotsLists the open booking slots for a studio's rooms and spaces over a date range, optionally for one facility.Arguments
Name Type Required studiostringYes fromstringNo tostringNo facilityIdstringNo pagenumberNo limitnumberNo Returns
glofoxFacilitySlotPageinterface glofoxFacilitySlot { id: string; start: string; durationMinutes: number | null; facilityId: string | null; facilityName: string | null; capacity: number | null; booked: number | null; waiting: number | null; status: string | null; bookingOpensAt: string | null; bookingClosesAt: string | null; } interface glofoxFacilitySlotPage { studio: string; from: string; to: string; page: number; hasMore: boolean; totalCount: number | null; slots: glofoxFacilitySlot[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listFacilitySlotsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listFacilitySlots({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listFacilitySlots({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listFacilitySlots \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listFacilitySlots({ studio: "barazayoga" });listMembershipsLists the memberships, class packs and trials a studio sells, each with its plans, price, credits, billing period and restrictions.Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxMembershipPageinterface glofoxMembershipCredit { model: string | null; categoryId: string | null; numSessions: number | null; expiryInterval: string | null; expiryIntervalCount: number | null; } interface glofoxMembershipPlan { price: number | null; billingType: string | null; startsOn: string | null; isGroupMembership: boolean; autoRenewal: boolean; credits: glofoxMembershipCredit[]; } interface glofoxMembership { id: string; name: string; description: string | null; buyJustOnce: boolean; plans: glofoxMembershipPlan[]; imageUrl: string | null; } interface glofoxMembershipPage { studio: string; page: number; hasMore: boolean; totalCount: number | null; memberships: glofoxMembership[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listMembershipsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listMemberships({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listMemberships({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listMemberships \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listMemberships({ studio: "barazayoga" });listMyBookingsLists the signed-in member's bookings at that studio.Arguments
Name Type Required studiostringYes pagenumber1-based page, newest booking first.No Returns
glofoxMyBookingPageinterface glofoxMyBooking { id: string; status: string | null; /** "event" (a class), "course", "appointment" (trainer slot), "facility"… */ kind: string | null; /** The booked thing's id, a class id from listClasses for kind "event". */ itemId: string | null; name: string | null; startsAt: string | null; endsAt: string | null; guests: number; attended: boolean | null; } interface glofoxMyBookingPage { studio: string; bookings: glofoxMyBooking[]; page: number; hasMore: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listMyBookingsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listMyBookings({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listMyBookings({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listMyBookings \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listMyBookings({ studio: "barazayoga" });listMyCreditsLists the signed-in member's remaining class credits and what each can be spent on.Arguments
Name Type Required studiostringYes Returns
glofoxMyCreditsinterface glofoxMyCredit { id: string | null; sessions: number | null; used: number | null; remaining: number | null; /** "programs" (class types), "appointments", "facilities"… */ spendsOn: string | null; categoryId: string | null; itemIds: string[]; startsAt: string | null; expiresAt: string | null; active: boolean | null; } interface glofoxMyCredits { studio: string; credits: glofoxMyCredit[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listMyCreditsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listMyCredits({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listMyCredits({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listMyCredits \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listMyCredits({ studio: "barazayoga" });listMyMembershipsLists the signed-in member's active, paused and stacked memberships, with renewal dates.Arguments
Name Type Required studiostringYes Returns
glofoxMyMembershipsinterface glofoxMyMembership { /** The member's own membership instance. */ id: string | null; /** The studio membership it copies, an id from listMemberships. */ membershipId: string | null; name: string | null; planCode: string | null; type: string | null; status: string | null; startsAt: string | null; endsAt: string | null; } interface glofoxMyMemberships { studio: string; memberships: glofoxMyMembership[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listMyMembershipsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listMyMemberships({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listMyMemberships({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listMyMemberships \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listMyMemberships({ studio: "barazayoga" });listMyTransactionsLists the signed-in member's charges at that studio, newest first, with amount, currency, status and invoice id.Arguments
Name Type Required studiostringYes pagenumberNo Returns
glofoxTransactionPageinterface glofoxTransaction { id: string; amount: number | null; currency: string | null; status: string | null; description: string | null; createdAt: string | null; invoiceId: string | null; } interface glofoxTransactionPage { studio: string; transactions: glofoxTransaction[]; page: number; hasMore: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listMyTransactionsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listMyTransactions({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listMyTransactions({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listMyTransactions \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listMyTransactions({ studio: "barazayoga" });listTrainersLists a studio's trainers with id, name, photo and bio.Arguments
Name Type Required studiostringYes pagenumber1-based; read hasMore.No limitnumber1-100.No Returns
glofoxTrainerPageinterface glofoxTrainer { id: string; name: string; firstName: string | null; lastName: string | null; bio: string | null; photoUrl: string | null; } interface glofoxTrainerPage { studio: string; page: number; hasMore: boolean; totalCount: number | null; trainers: glofoxTrainer[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listTrainersCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listTrainers({ studio: "barazayoga" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listTrainers({"studio": "barazayoga"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listTrainers \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"barazayoga"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listTrainers({ studio: "barazayoga" });listTrainerSlotsLists the open appointment slots for a studio's trainers over a date range, optionally for one trainer or appointment type.Arguments
Name Type Required studiostringYes fromstring"YYYY-MM-DD" in the studio's own time zone; default today.No tostring"YYYY-MM-DD", inclusive; default from + 6 days; at most 31 days.No trainerIdstringId from listTrainers.No appointmentTypeIdstringId from listAppointmentTypes.No pagenumber1-based; read hasMore.No limitnumber1-100, default 50.No Returns
glofoxTrainerSlotPageinterface glofoxTrainerSlot { /** Opaque key the site itself issues; pass it back to book. */ id: string; /** ISO instant. */ start: string; durationMinutes: number | null; appointmentTypeId: string | null; appointmentTypeName: string | null; trainerId: string | null; trainerName: string | null; capacity: number | null; booked: number | null; waiting: number | null; status: string | null; bookingOpensAt: string | null; bookingClosesAt: string | null; } interface glofoxTrainerSlotPage { studio: string; from: string; to: string; page: number; hasMore: boolean; totalCount: number | null; slots: glofoxTrainerSlot[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/listTrainerSlotsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.listTrainerSlots({ studio: "glofox" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.listTrainerSlots({"studio": "glofox"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/listTrainerSlots \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"glofox"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.listTrainerSlots({ studio: "glofox" });
bookClassBooks the signed-in member into one class, spending a credit or membership they already hold.Arguments
Name Type Required studiostringYes classIdstringThe class id from listClasses.Yes guestsnumberGuests booked alongside the member; default 0.No Returns
glofoxBookingResultinterface glofoxBookingResult { studio: string; classId: string; /** True when the studio confirmed the booking (or the waitlist place). */ booked: boolean; /** The new booking's id, what cancelBooking takes. */ bookingId: string | null; status: string | null; waitlisted: boolean; /** The class would charge a card; Bowmark stopped before paying and nothing was booked. */ paymentRequired: boolean; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/bookClassCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.bookClass({ studio: "<studio>", classId: "<classId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.bookClass({"studio": "<studio>", "classId": "<classId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/bookClass \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","classId":"<classId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.bookClass({ studio: "<studio>", classId: "<classId>" });bookCourseBooks the signed-in member onto a course from listCourses; stops at the payment step.Arguments
Name Type Required studiostringYes courseIdstringA course id from listCourses.Yes scheduleIdstringOne of that course's schedules[].id from listCourses.Yes guestsnumberNo Returns
glofoxCourseBookingResultinterface glofoxCourseBookingResult { studio: string; courseId: string; scheduleId: string; booked: boolean; bookingId: string | null; status: string | null; waitlisted: boolean; /** The course would charge a card; Bowmark stopped before paying and nothing was booked. */ paymentRequired: boolean; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/bookCourseCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.bookCourse({ studio: "<studio>", courseId: "<courseId>", scheduleId: "<scheduleId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.bookCourse({ "studio": "<studio>", "courseId": "<courseId>", "scheduleId": "<scheduleId>" }))curl -X POST https://api.bowmark.ai/v1/sites/glofox/bookCourse \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","courseId":"<courseId>","scheduleId":"<scheduleId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.bookCourse({ studio: "<studio>", courseId: "<courseId>", scheduleId: "<scheduleId>" });bookFacilitySlotBooks the signed-in member into one room or space slot from listFacilitySlots; stops at the payment step.Arguments
Name Type Required studiostringYes slotIdstringA slot id from listTrainerSlots (bookTrainerSlot) or listFacilitySlots (bookFacilitySlot).Yes Returns
glofoxSlotBookingResultinterface glofoxSlotBookingResult { studio: string; slotId: string; booked: boolean; bookingId: string | null; status: string | null; waitlisted: boolean; /** The slot would charge a card; Bowmark stopped before paying and nothing was booked. */ paymentRequired: boolean; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/bookFacilitySlotCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.bookFacilitySlot({ studio: "<studio>", slotId: "<slotId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.bookFacilitySlot({"studio": "<studio>", "slotId": "<slotId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/bookFacilitySlot \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","slotId":"<slotId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.bookFacilitySlot({ studio: "<studio>", slotId: "<slotId>" });bookTrainerSlotBooks the signed-in member into one trainer appointment slot from listTrainerSlots, spending what they already hold; stops at the payment step.Arguments
Name Type Required studiostringYes slotIdstringA slot id from listTrainerSlots (bookTrainerSlot) or listFacilitySlots (bookFacilitySlot).Yes Returns
glofoxSlotBookingResultinterface glofoxSlotBookingResult { studio: string; slotId: string; booked: boolean; bookingId: string | null; status: string | null; waitlisted: boolean; /** The slot would charge a card; Bowmark stopped before paying and nothing was booked. */ paymentRequired: boolean; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/bookTrainerSlotCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.bookTrainerSlot({ studio: "<studio>", slotId: "<slotId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.bookTrainerSlot({"studio": "<studio>", "slotId": "<slotId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/bookTrainerSlot \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","slotId":"<slotId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.bookTrainerSlot({ studio: "<studio>", slotId: "<slotId>" });cancelBookingCancels one of the signed-in member's bookings by id (from listMyBookings), refusing inside the studio's late-cancel window unless the caller…Arguments
Name Type Required studiostringYes bookingIdstringA booking id from listMyBookings.Yes confirmLateCancelbooleanRequired to cancel inside the studio's late-cancel window (may forfeit the credit or charge a fee).No Returns
glofoxCancelResultinterface glofoxCancelResult { studio: string; bookingId: string; cancelled: boolean; lateCancel: boolean; /** Hours before the start inside which a cancel is late. */ cancelWindowHours: number | null; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/cancelBookingCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.cancelBooking({ studio: "<studio>", bookingId: "<bookingId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.cancelBooking({"studio": "<studio>", "bookingId": "<bookingId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/cancelBooking \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","bookingId":"<bookingId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.cancelBooking({ studio: "<studio>", bookingId: "<bookingId>" });joinWaitlistPuts the signed-in member on a full class's waitlist.Arguments
Name Type Required studiostringYes classIdstringThe class id from listClasses.Yes guestsnumberGuests booked alongside the member; default 0.No Returns
glofoxBookingResultinterface glofoxBookingResult { studio: string; classId: string; /** True when the studio confirmed the booking (or the waitlist place). */ booked: boolean; /** The new booking's id, what cancelBooking takes. */ bookingId: string | null; status: string | null; waitlisted: boolean; /** The class would charge a card; Bowmark stopped before paying and nothing was booked. */ paymentRequired: boolean; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/joinWaitlistCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.joinWaitlist({ studio: "<studio>", classId: "<classId>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.joinWaitlist({"studio": "<studio>", "classId": "<classId>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/joinWaitlist \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>","classId":"<classId>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.joinWaitlist({ studio: "<studio>", classId: "<classId>" });updateMyProfileChanges the signed-in member's own profile fields at that studio (name, email, phone, birth date, address, marketing consent).Arguments
Name Type Required studiostringYes firstNamestringNo lastNamestringNo emailstringNo phonestringNo birthDatestringYYYY-MM-DD.No receiveMarketingbooleanNo address{ street?: string; city?: string; state?: string; country?: string; postalCode?: string; countryCode?: string; }No Returns
glofoxProfileUpdateResultinterface glofoxProfileUpdateResult { studio: string; updated: boolean; /** The site's field names that were sent. */ changed: string[]; message: string | null; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/glofox/updateMyProfileCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.glofox.updateMyProfile({ studio: "<studio>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.glofox.updateMyProfile({"studio": "<studio>"}))curl -X POST https://api.bowmark.ai/v1/sites/glofox/updateMyProfile \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"studio":"<studio>"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.glofox.updateMyProfile({ studio: "<studio>" });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/glofox/<function> - OpenAPI
/v1/sites/glofox/openapi.json