openapi: 3.0.3
info:
title: ABC Trainerize Client Data Messaging API
description: 'Programmatic access to an ABC Trainerize personal-training / fitness-coaching business. The API lets an integrator add, modify, and retrieve client data - clients, training programs and workouts, goals, habits, body stats, nutrition, appointments, messaging, and tags/groups - plus register webhooks for business events (workout completed, new client, goal hit, and more).
ACCESS MODEL: The API is a partner / private API available only on Studio and Enterprise plans. Credentials (an API key and/or an OAuth2 connection) are provisioned from the Trainerize account settings; ABC Trainerize support does not assist with building API calls and the full reference is behind the authenticated help center.
GROUNDING NOTE: The live API host and version prefix in `servers` below were confirmed by direct probing (https://api.trainerize.com/v03, Microsoft-IIS / ASP.NET Web API). The individual operation paths and request/response schemas in this document are MODELED from ABC Trainerize''s publicly documented capabilities (the ABC Trainerize help center API/webhooks article and the published Zapier / Latenode / partner action catalog); they are representative and were NOT copied from a public OpenAPI reference, because ABC Trainerize does not publish one openly. Treat exact paths, parameter names, and payloads as illustrative and verify against the gated reference before implementation.'
version: v03
contact:
name: ABC Trainerize
url: https://www.trainerize.com
x-parent-company: ABC Fitness Solutions (Trainerize was acquired by ABC Fitness in 2021)
servers:
- url: https://api.trainerize.com/v03
description: ABC Trainerize production API (host + v03 version prefix confirmed live; requires provisioned credentials)
security:
- apiKey: []
tags:
- name: Messaging
description: Send in-app messages and upload attachments / meal-plan PDFs to clients.
paths:
/message/send:
post:
operationId: sendMessage
tags:
- Messaging
summary: Send a message to a client
description: Sends an in-app message to a client (documented "Send Message in Trainerize" action).
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- userID
- message
properties:
userID:
type: integer
message:
type: string
responses:
'200':
description: Send result.
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'401':
$ref: '#/components/responses/Unauthorized'
/attachment/upload:
post:
operationId: uploadAttachment
tags:
- Messaging
summary: Upload an attachment
description: Uploads an attachment (for example a meal-plan PDF) to a client (documented "Upload Attachment" / "Attach Meal Plan PDF" actions).
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- userID
- file
properties:
userID:
type: integer
file:
type: string
format: binary
responses:
'200':
description: Upload result.
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
StatusResponse:
type: object
properties:
success:
type: boolean
message:
type: string
Error:
type: object
properties:
code:
type: string
message:
type: string
responses:
Unauthorized:
description: Missing or invalid credentials, or the plan does not include API access.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKey:
type: apiKey
in: header
name: Authorization
description: API key provisioned in the ABC Trainerize account settings (Studio and Enterprise plans only). An OAuth2 connection is also offered for partner integrations. The exact header format is documented only in the gated help center; model as an Authorization header credential.