Linking TeamUp Fitness as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Contents

The TeamUp Fitness connector syncs your customer, membership, attendance, and billing data into the PostHog Data Warehouse. You can analyze this data alongside your product data.

Prerequisites

You need access to your TeamUp business dashboard to create a machine-to-machine (M2M) token, and the numeric provider ID for your business. The token must have access to that provider and the tables you want to sync.

See TeamUp's authentication guide for details about M2M tokens.

Adding a data source

  1. In PostHog, go to the Sources tab of the data pipeline section.
  2. Click + New source and click Link next to this source.
  3. Enter your credentials (see Configuration below) and click Next.
  4. Select the tables you want to sync, choose a sync method and frequency, then click Import.

Once the syncs are complete, you can start querying this data in PostHog.

When linking TeamUp Fitness, you'll need:

  • M2M token: In your TeamUp business dashboard, open Settings > Integrations > API Integration > Options > Manage Applications. Create an M2M token and enter it in PostHog. Use the token value, without the Bearer prefix. A client ID or client secret isn't an M2M token.
  • Provider ID: Enter the numeric ID of the TeamUp business you want to sync, for example 12345.

Sync modes

All TeamUp Fitness tables support full refresh only. Each sync reloads the whole table to reflect the current data in TeamUp, including changes to existing records. Schedule and membership start dates don't track later changes to those records, so the connector doesn't use them for incremental syncs.

See sync methods for more details.

Configuration

OptionTypeRequired
M2M tokenpasswordYes
Provider IDtextYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
customers

Customers of the TeamUp business, including their contact details and status.

Full refresh——
customer_memberships

Memberships held by customers, including their dates, status, and billed price.

Full refresh——
memberships

Membership products, including recurring memberships, prepaid memberships, and packs.

Full refresh——
events

Scheduled classes and appointments, including their times, locations, and attendance counts.

Full refresh——
attendances

Customer registrations and attendance status for events.

Full refresh——
invoices

Invoices with payment status, payer, due date, and total amount due.

Full refresh——
venues

Physical and online venues where the business holds events.

Full refresh——
instructors

Instructors who deliver classes and appointments for the business.

Full refresh——
membership_categories

Categories that group the business's membership products.

Full refresh——
offering_types

Class, course, and appointment types that the business offers.

Full refresh——
lead_sources

CRM lead sources that record how customers found the business.

Full refresh——
payment_subscriptions

Recurring billing records that charge customers for membership payment plans.

Full refresh——
membership_payment_plans

Payment plans of membership products, with prices, billing intervals, and commitment terms.

Full refresh——
customer_membership_holds

Holds that pause customer memberships for a period of time.

Full refresh——
discount_codes

Discount codes that customers can apply to purchases.

Full refresh——
crm_status_changes

Changes to the CRM status of customers, for example from lead to member.

Full refresh——

Troubleshooting

  • TeamUp rejected the M2M token: Create a new M2M token in your TeamUp business dashboard, then update the source credentials in PostHog. Check that you entered the M2M token rather than a client secret.
  • TeamUp denied access: Check that the token has access to the specified provider ID and the permissions the failing table needs.
  • TeamUp could not select your business: Enter the provider ID using digits only. Check that it identifies an active business your token can access. Don't enter a business name or URL.

See TeamUp's API errors guide for details about authentication and provider errors.

If your sync is failing or data looks wrong, see the Data warehouse troubleshooting guide. If that doesn't help, contact support – we're happy to help.

Still have questions?

Was this page useful?