# Zapier — PTminder Integrations
> zapier.com/apps/ptminder/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
PTminder is a business management platform designed for Personal Trainers

- App slug: ptminder
- Operations published here: 13 (12 events, 1 function)

## Authentication
Zapier connects to PTminder via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection ptminder
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/ptminder/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect PTminder through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_client`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "ptminder", owner: "me" });

const { data } = await zapier.runAction({
  app: "ptminder",
  actionType: "write",
  action: "create_client",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action ptminder write create_client \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing PTminder's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "ptminder" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions ptminder --page-size 50 --max-items 200 --json
```

### Events (12)

Events fire when something happens in PTminder. Use them to start a run.

#### Class Created
Triggers when a class booking is created.

- Type: read · Key: `class_created`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "class_created" })`
- CLI: `npx zapier-sdk run-action ptminder read class_created`

#### Class Updated
Triggers when a class booking is updated.

- Type: read · Key: `class_updated`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "class_updated" })`
- CLI: `npx zapier-sdk run-action ptminder read class_updated`

#### Client Created
Triggers when a new client is created.

- Type: read · Key: `client_created`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "client_created" })`
- CLI: `npx zapier-sdk run-action ptminder read client_created`

#### Client Updated
Triggers when a client is updated.

- Type: read · Key: `client_updated`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "client_updated" })`
- CLI: `npx zapier-sdk run-action ptminder read client_updated`

#### Client Membership Assigned
Triggers when a client membership is assigned/purchased.

- Type: read · Key: `membership_assigned`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "membership_assigned" })`
- CLI: `npx zapier-sdk run-action ptminder read membership_assigned`

#### Client Membership Cancelled 
Triggers when a client membership is manually cancelled by a user.

- Type: read · Key: `membership_cancelled`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "membership_cancelled" })`
- CLI: `npx zapier-sdk run-action ptminder read membership_cancelled`

#### Client Membership Ended
Triggers when a client membership ends due to the expiration date.

- Type: read · Key: `membership_ended`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "membership_ended" })`
- CLI: `npx zapier-sdk run-action ptminder read membership_ended`

#### Client Package Assigned 
Triggers when a client package is assigned/purchased.

- Type: read · Key: `package_assigned`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "package_assigned" })`
- CLI: `npx zapier-sdk run-action ptminder read package_assigned`

#### Client Package Finished
Triggers when a package finishes due to all the credits being used up.

- Type: read · Key: `package_finished`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "package_finished" })`
- CLI: `npx zapier-sdk run-action ptminder read package_finished`

#### Client Product Assigned
Triggers when a client product is assigned/purchased.

- Type: read · Key: `product_assigned`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "product_assigned" })`
- CLI: `npx zapier-sdk run-action ptminder read product_assigned`

#### Session Created
Triggers when a session booking is created.

- Type: read · Key: `session_created`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "session_created" })`
- CLI: `npx zapier-sdk run-action ptminder read session_created`

#### Session Updated
Triggers when a session booking is updated.

- Type: read · Key: `session_updated`
- Requires: nothing
- SDK: `runAction({ app: "ptminder", actionType: "read", action: "session_updated" })`
- CLI: `npx zapier-sdk run-action ptminder read session_updated`

### Functions (1)

Functions change something in PTminder.

#### Create Client
Creates a Client in PTminder

- Type: write · Key: `create_client`
- Requires: first, last
- Optional: email, phone1, phone2, birthday, important_notes, emergency_contact, client_business_name, gender, occupation, goals, injuries, medical_conditions, nutrition, plan, address, city, state, zip, active
- SDK: `runAction({ app: "ptminder", actionType: "write", action: "create_client" })`
- CLI: `npx zapier-sdk run-action ptminder write create_client`

## Popular integrations
- [PTminder + MailerLite](zapier.com/apps/ptminder/integrations/mailerlite.md)
- [PTminder + Mailchimp](zapier.com/apps/ptminder/integrations/mailchimp.md)
- [PTminder + Xero](zapier.com/apps/ptminder/integrations/xero.md)
- [PTminder + Referrizer](zapier.com/apps/ptminder/integrations/referrizer.md)
- [PTminder + Microsoft Excel](zapier.com/apps/ptminder/integrations/excel.md)
- [PTminder + GitHub](zapier.com/apps/ptminder/integrations/github.md)
- [PTminder + GoReminders](zapier.com/apps/ptminder/integrations/goreminders.md)
- [PTminder + WhatsApp Business](zapier.com/apps/ptminder/integrations/whatsapp-business.md)
- [PTminder + HL Pro Tools](zapier.com/apps/ptminder/integrations/hl-pro-tools.md)
- [PTminder + Heysegment](zapier.com/apps/ptminder/integrations/heysegment.md)

## Links
- Full app page: zapier.com/apps/ptminder/integrations
- MCP: zapier.com/mcp/ptminder
- SDK: npmjs.com/package/@zapier/zapier-sdk