Wellhub (formerly Gympass) is an app where members book classes at studios across its network. This integration publishes your classes to Wellhub and turns Wellhub bookings and check-ins into normal CodexFit bookings and attendance. Wellhub bookings take up your real class capacity.
Before you start
Wellhub issues the details you need to connect, including your API key and a Gym ID for each studio. If you don't have them yet, ask Wellhub.
Connect Wellhub
- Go to Business Settings and open Integrations.
- Find Wellhub and click Configure.
- Fill in the settings (see the table below).
- Click Save settings.
- Click Test to check the connection.
- Click Enable when you're ready to go live.
Follow along
The settings
| Setting | What it does |
|---|---|
| Environment | Select Production. |
| System ID | Our integration's ID at Wellhub, sent on each class. Leave blank unless Wellhub has issued one. |
| API key | Outbound credential issued by Wellhub, sent as a bearer token when CodexFit publishes classes and slots, answers booking requests and validates check-ins. |
| Webhook secret | Inbound credential. Wellhub signs every webhook with this secret, and CodexFit rejects any whose signature does not match. It must be the same value the aggregator broker and Wellhub hold. Click Generate key to create one. |
| Credit type to generate for bookings | Only events accepting this credit type are published to Wellhub, and credits created for a Wellhub booking are issued as this type. |
| Payment method to log when generating credits | Wellhub settles directly rather than through CodexFit, so this is how Wellhub revenue is separated in reporting. |
| Credit value | Value of one Wellhub visit including tax, recorded as the price paid on each generated credit. |
| Credit tax rate | The tax recorded is the portion of the credit value attributable to tax, not an amount added on top. |
| Days ahead to publish | Events are published to Wellhub once they fall within this many days. |
| Integration Setup API URL | Issued by Wellhub. Used to list the gyms that chose CodexFit and to subscribe their webhooks. |
| Subscribe webhooks automatically | When a location is given a gym, subscribe that gym's webhooks at Wellhub. Leave off where Wellhub sets them up. Each location can still be subscribed by hand. |
Connect each location to its Wellhub gym
Under the settings, the Locations list shows each of your locations. Only published locations appear on Wellhub.
- Click Assign gym next to a location.
- Turn on Publish this location to Wellhub.
- Enter the Wellhub Gym ID. CodexFit suggests the gyms that have chosen CodexFit at Wellhub.
- Choose a Default Wellhub product and check the Timezone.
- Click Submit.
Choose which classes appear on Wellhub
You choose this on each event type.
- Go to Business Settings and open Event Types.
- Click to edit the event type, then open the Wellhub tab.
- Turn on Offer this event type on Wellhub.
- Optionally fill in the rest:
- Wellhub category IDs: the Wellhub categories for this class.
- Wellhub places per event: the most places Wellhub members can take on each class of this type. Individual events can override it. Leave it blank for no limit.
- Wellhub product override: leave it blank to use the location's default product.
- Click Save changes.
Only events at locations that are connected to a Wellhub gym, and that accept the Wellhub credit type, are published. The Wellhub classes line on the tab shows what has been published.
Comments
0 comments
Please sign in to leave a comment.