{"openapi":"3.1.0","info":{"title":"GlossGenius API (Bowmark)","version":"e833508f87ff","description":"GlossGenius salon, barber and spa booking sites (<slug>.glossgenius.com): services, team, open times, reviews; book, reschedule and cancel an appointment as a guest.\n\nEvery function Bowmark has for GlossGenius (glossgenius.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/glossgenius/updateMyProfile":{"post":{"operationId":"updateMyProfile","summary":"Signed in: changes the caller's first and last name at one GlossGenius business, and sets an email when none is on file (GlossGenius will not change an existing one).","description":"Signed in: changes the caller's first and last name at one GlossGenius business, and sets an email when none is on file (GlossGenius will not change an existing one). Example: `bowmark.providers.glossgenius.updateMyProfile({ business: \"sweettouchskin\", firstName: \"Ada\", lastName: \"Client\" })`.\n\nCalls `bowmark.providers.glossgenius.updateMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusProfileUpdate>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusUpdateMyProfileArgs","description":"TypeScript: `GlossGeniusUpdateMyProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/cancelMyMembership":{"post":{"operationId":"cancelMyMembership","summary":"Signed in: cancels one of the caller's memberships at a GlossGenius business, under the business's membership terms.","description":"Signed in: cancels one of the caller's memberships at a GlossGenius business, under the business's membership terms. Stops a recurring charge, never starts one. Example: `bowmark.providers.glossgenius.cancelMyMembership({ business: \"sweettouchskin\", membership: \"<token from listMyMemberships>\" })`.\n\nCalls `bowmark.providers.glossgenius.cancelMyMembership`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusMembershipCancel>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusCancelMyMembershipArgs","description":"TypeScript: `GlossGeniusCancelMyMembershipArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listMyMemberships":{"post":{"operationId":"listMyMemberships","summary":"Signed in: lists the memberships the caller holds at one GlossGenius business, as GlossGenius returns them.","description":"Signed in: lists the memberships the caller holds at one GlossGenius business, as GlossGenius returns them. Example: `bowmark.providers.glossgenius.listMyMemberships({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listMyMemberships`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusMyMemberships>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusMyMembershipsArgs","description":"TypeScript: `GlossGeniusMyMembershipsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listMyOrders":{"post":{"operationId":"listMyOrders","summary":"Signed in: lists the caller's orders (gift cards, packages, memberships bought) at one GlossGenius business, OPEN by default, or PAID, VOID or CANCELED.","description":"Signed in: lists the caller's orders (gift cards, packages, memberships bought) at one GlossGenius business, OPEN by default, or PAID, VOID or CANCELED. Example: `bowmark.providers.glossgenius.listMyOrders({ business: \"sweettouchskin\", state: \"PAID\" })`.\n\nCalls `bowmark.providers.glossgenius.listMyOrders`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusMyOrders>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusMyOrdersArgs","description":"TypeScript: `GlossGeniusMyOrdersArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/getMyProfile":{"post":{"operationId":"getMyProfile","summary":"Signed in: returns the caller's own client profile at one GlossGenius business -- name, email, phone, the client token, and the user record as GlossGenius sends it.","description":"Signed in: returns the caller's own client profile at one GlossGenius business -- name, email, phone, the client token, and the user record as GlossGenius sends it. A GlossGenius sign-in belongs to one business, so the caller signs in on that business's booking site. Example: `bowmark.providers.glossgenius.getMyProfile({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.getMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusMyProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusMyProfileArgs","description":"TypeScript: `GlossGeniusMyProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/findBusiness":{"post":{"operationId":"findBusiness","summary":"Finds a GlossGenius business from its booking-site slug, a <slug>.glossgenius.com link, or the business's own website or Instagram link that points at one, and returns the slug every other function ta","description":"Finds a GlossGenius business from its booking-site slug, a <slug>.glossgenius.com link, or the business's own website or Instagram link that points at one, and returns the slug every other function takes. GlossGenius has no public directory, so a name-and-city lookup needs a web search for \"<name> site:glossgenius.com\" first. Example: `bowmark.providers.glossgenius.findBusiness({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.findBusiness`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusBusinessRef>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusFindBusinessArgs","description":"TypeScript: `GlossGeniusFindBusinessArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/getBusiness":{"post":{"operationId":"getBusiness","summary":"Returns a business's public profile: about, address, phone, timezone, opening hours, booking policies (cancellation window and fee, card required, booking limits), its team and its locations.","description":"Returns a business's public profile: about, address, phone, timezone, opening hours, booking policies (cancellation window and fee, card required, booking limits), its team and its locations. Example: `bowmark.providers.glossgenius.getBusiness({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.getBusiness`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusBusiness>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusFindBusinessArgs","description":"TypeScript: `GlossGeniusFindBusinessArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listServices":{"post":{"operationId":"listServices","summary":"Lists a business's bookable services with category, price, duration, deposit, options and the team members who perform each.","description":"Lists a business's bookable services with category, price, duration, deposit, options and the team members who perform each. Example: `bowmark.providers.glossgenius.listServices({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listServices`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusServiceList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusListServicesArgs","description":"TypeScript: `GlossGeniusListServicesArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listTeam":{"post":{"operationId":"listTeam","summary":"Lists the team members a client can book with at a business: name, bio, avatar, Instagram and the services each performs, with the space member token getAvailability takes.","description":"Lists the team members a client can book with at a business: name, bio, avatar, Instagram and the services each performs, with the space member token getAvailability takes. Example: `bowmark.providers.glossgenius.listTeam({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listTeam`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusTeamList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusListTeamArgs","description":"TypeScript: `GlossGeniusListTeamArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listLocations":{"post":{"operationId":"listLocations","summary":"Lists a business's locations with address, hours and the location token listServices and getAvailability take.","description":"Lists a business's locations with address, hours and the location token listServices and getAvailability take. Example: `bowmark.providers.glossgenius.listLocations({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listLocations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusLocationList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusListLocationsArgs","description":"TypeScript: `GlossGeniusListLocationsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/getAvailability":{"post":{"operationId":"getAvailability","summary":"Returns the open appointment slots for one or more services at a business over a date range, each slot's start and end and which team members are free for it.","description":"Returns the open appointment slots for one or more services at a business over a date range, each slot's start and end and which team members are free for it. Takes service tokens from listServices. Example: `bowmark.providers.glossgenius.getAvailability({ business: \"sweettouchskin\", services: [\"1000f-937a18c6-322d-44df-a621-5cab47d30d70\"], from: \"2026-11-04\", to: \"2026-11-11\" })`.\n\nCalls `bowmark.providers.glossgenius.getAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusAvailability>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusGetAvailabilityArgs","description":"TypeScript: `GlossGeniusGetAvailabilityArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listReviews":{"post":{"operationId":"listReviews","summary":"Lists a business's client reviews: rating, text, reviewer first name, date and the services reviewed.","description":"Lists a business's client reviews: rating, text, reviewer first name, date and the services reviewed. Example: `bowmark.providers.glossgenius.listReviews({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listReviews`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusReviewList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusListReviewsArgs","description":"TypeScript: `GlossGeniusListReviewsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listPackages":{"post":{"operationId":"listPackages","summary":"Lists the service packages a business sells (a bundle of sessions at one price): name, description, price, the services and session counts it includes against their one-at-a-time price, how long it st","description":"Lists the service packages a business sells (a bundle of sessions at one price): name, description, price, the services and session counts it includes against their one-at-a-time price, how long it stays valid and its terms. Example: `bowmark.providers.glossgenius.listPackages({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listPackages`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusPackageList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusShopArgs","description":"TypeScript: `GlossGeniusShopArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/listMemberships":{"post":{"operationId":"listMemberships","summary":"Lists the memberships a business sells: name, description, price, renewal period, taxes and the sessions each renewal includes.","description":"Lists the memberships a business sells: name, description, price, renewal period, taxes and the sessions each renewal includes. Example: `bowmark.providers.glossgenius.listMemberships({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.listMemberships`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusMembershipList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusShopArgs","description":"TypeScript: `GlossGeniusShopArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/getGiftCardOptions":{"post":{"operationId":"getGiftCardOptions","summary":"Returns whether a business sells gift cards online, the preset amounts it offers and the card designs.","description":"Returns whether a business sells gift cards online, the preset amounts it offers and the card designs. Example: `bowmark.providers.glossgenius.getGiftCardOptions({ business: \"sweettouchskin\" })`.\n\nCalls `bowmark.providers.glossgenius.getGiftCardOptions`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusGiftCardOptions>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusShopArgs","description":"TypeScript: `GlossGeniusShopArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/getBookingRequirements":{"post":{"operationId":"getBookingRequirements","summary":"Says what a business will ask a given client for before it books given services at a given time: whether a card on file is required, the deposit and processing fee due now, and the cancellation policy","description":"Says what a business will ask a given client for before it books given services at a given time: whether a card on file is required, the deposit and processing fee due now, and the cancellation policy. Takes service guids from listServices and a startsAt from getAvailability; reads only, books nothing. Example: `bowmark.providers.glossgenius.getBookingRequirements({ business: \"sweettouchskin\", services: [\"ccd9f9db5c\"], startsAt: \"2026-11-04T21:00:00.000Z\", name: \"Ada Client\", email: \"ada@example.com\" })`.\n\nCalls `bowmark.providers.glossgenius.getBookingRequirements`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusBookingRequirements>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusBookingRequirementsArgs","description":"TypeScript: `GlossGeniusBookingRequirementsArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/glossgenius/joinWaitlist":{"post":{"operationId":"joinWaitlist","summary":"Puts a client on a business's waitlist for one or more services and a preferred team member, as a guest, when no open time suits.","description":"Puts a client on a business's waitlist for one or more services and a preferred team member, as a guest, when no open time suits. GlossGenius emails or texts the client a link to the entry rather than returning one. Example: `bowmark.providers.glossgenius.joinWaitlist({ business: \"sweettouchskin\", services: [\"ccd9f9db5c\"], provider: \"c1ea427fdc\", name: \"Ada Client\", email: \"ada@example.com\", phone: \"5555550123\", acknowledgeCancellationPolicy: true })`.\n\nCalls `bowmark.providers.glossgenius.joinWaitlist`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<GlossGeniusWaitlistJoinResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GlossGeniusJoinWaitlistArgs","description":"TypeScript: `GlossGeniusJoinWaitlistArgs`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"GlossGeniusBookingRequirementsArgs":{"type":"object","properties":{"business":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"startsAt":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}},"required":["business","services","startsAt","name"],"additionalProperties":true},"GlossGeniusCancelMyMembershipArgs":{"type":"object","properties":{"business":{"type":"string"},"membership":{"type":"string"}},"required":["business","membership"],"additionalProperties":true},"GlossGeniusFindBusinessArgs":{"type":"object","properties":{"business":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusGetAvailabilityArgs":{"type":"object","properties":{"business":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"from":{"type":"string"},"to":{"type":"string"},"location":{"type":"string"},"teamMembers":{"type":"array","items":{"type":"string"}}},"required":["business","services","from","to"],"additionalProperties":true},"GlossGeniusJoinWaitlistArgs":{"type":"object","properties":{"business":{"type":"string"},"services":{"type":"array","items":{"type":"string"}},"provider":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"days":{"type":"number"},"notes":{"type":"string"},"agreeToSmsConsent":{"type":"boolean"},"location":{"type":"string"},"acknowledgeCancellationPolicy":{"const":true}},"required":["business","services","provider","name","email","phone","acknowledgeCancellationPolicy"],"additionalProperties":true},"GlossGeniusListLocationsArgs":{"type":"object","properties":{"business":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusListReviewsArgs":{"type":"object","properties":{"business":{"type":"string"},"limit":{"type":"number"}},"required":["business"],"additionalProperties":true},"GlossGeniusListServicesArgs":{"type":"object","properties":{"business":{"type":"string"},"location":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusListTeamArgs":{"type":"object","properties":{"business":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusMyMembershipsArgs":{"type":"object","properties":{"business":{"type":"string"},"states":{"type":"array","items":{"type":"string"}}},"required":["business"],"additionalProperties":true},"GlossGeniusMyOrdersArgs":{"type":"object","properties":{"business":{"type":"string"},"state":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusMyProfileArgs":{"type":"object","properties":{"business":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusShopArgs":{"type":"object","properties":{"business":{"type":"string"}},"required":["business"],"additionalProperties":true},"GlossGeniusUpdateMyProfileArgs":{"type":"object","properties":{"business":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"}},"required":["business","firstName","lastName"],"additionalProperties":true}}}}