CompTeam Training Bookings API
The Training Bookings API from CompTeam — 7 operation(s) for training bookings.
The Training Bookings API from CompTeam — 7 operation(s) for training bookings.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-training-bookings-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Compteam Io Training Bookings API
version: 0.1.0
description: 'Operations tagged Training Bookings across 2 of this provider''s published API definitions: compteam-io-openapi.json, compteam-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.compteam.io
description: C-TEAM API host serving this spec and its Swagger UI at /docs
tags:
- name: Training Bookings
paths:
/api/v1/training/offerings:
get:
tags:
- Training Bookings
summary: List Offerings
operationId: list_offerings_api_v1_training_offerings_get
security:
- HTTPBearer: []
parameters:
- name: include_history
in: query
required: false
schema:
type: boolean
default: false
title: Include History
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Training Bookings
summary: Create Offering
operationId: create_offering_api_v1_training_offerings_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OfferingCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/training/offerings/{offering_id}:
patch:
tags:
- Training Bookings
summary: Update Offering
operationId: update_offering_api_v1_training_offerings__offering_id__patch
security:
- HTTPBearer: []
parameters:
- name: offering_id
in: path
required: true
schema:
type: string
format: uuid
title: Offering Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OfferingUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/training/bookings:
get:
tags:
- Training Bookings
summary: List Branch Bookings
operationId: list_branch_bookings_api_v1_training_bookings_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
post:
tags:
- Training Bookings
summary: Create Booking
operationId: create_booking_api_v1_training_bookings_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BookingCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/training/bookings/drop-in:
post:
tags:
- Training Bookings
summary: Create Drop In Booking
operationId: create_drop_in_booking_api_v1_training_bookings_drop_in_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DropInBookingCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/training/bookings/coach-record:
post:
tags:
- Training Bookings
summary: Coach Record Booking
operationId: coach_record_booking_api_v1_training_bookings_coach_record_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CoachRecordBooking'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/training/bookings/me:
get:
tags:
- Training Bookings
summary: List My Bookings
operationId: list_my_bookings_api_v1_training_bookings_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/v1/training/bookings/{booking_id}:
delete:
tags:
- Training Bookings
summary: Cancel Booking
operationId: cancel_booking_api_v1_training_bookings__booking_id__delete
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: string
format: uuid
title: Booking Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
OfferingCreate:
properties:
type:
type: string
title: Type
description: drop_in | private_lesson | seminar
discipline:
anyOf:
- type: string
enum:
- bjj
- luta_livre
- taekwondo
- karate
- muay_thai
- sambo
- kickboxing
- judo
- aikido
- mma
- type: 'null'
title: Discipline
default: bjj
title:
type: string
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
price_amount:
type: number
title: Price Amount
currency:
anyOf:
- type: string
- type: 'null'
title: Currency
stripe_price_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Price Id
occurrence_key:
anyOf:
- type: string
- type: 'null'
title: Occurrence Key
purchase_order_item_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Purchase Order Item Id
coach_user_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Coach User Id
scheduled_at:
anyOf:
- type: string
- type: 'null'
title: Scheduled At
duration_min:
anyOf:
- type: integer
- type: 'null'
title: Duration Min
sessions:
anyOf:
- items:
$ref: '#/components/schemas/OfferingSession'
type: array
- type: 'null'
title: Sessions
location_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Location Id
location_text:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Location Text
capacity:
anyOf:
- type: integer
- type: 'null'
title: Capacity
rrule:
anyOf:
- type: string
- type: 'null'
title: Rrule
dtstart_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Dtstart Date
until_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Until Date
start_time:
anyOf:
- type: string
format: time
- type: 'null'
title: Start Time
is_organization_wide:
type: boolean
title: Is Organization Wide
default: false
visitor_billing_mode:
type: string
enum:
- home_branch_invoice
- host_branch_invoice
title: Visitor Billing Mode
default: host_branch_invoice
host_invoice_payment_method:
type: string
enum:
- manual
- stripe
title: Host Invoice Payment Method
default: manual
home_branch_commission_pct:
type: number
maximum: 100.0
minimum: 0.0
title: Home Branch Commission Pct
default: 0
type: object
required:
- type
- title
- price_amount
title: OfferingCreate
BookingCreate:
properties:
offering_id:
type: string
format: uuid
title: Offering Id
payment_method:
type: string
title: Payment Method
default: manual
session_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Session Date
discount_code:
anyOf:
- type: string
maxLength: 64
- type: 'null'
title: Discount Code
type: object
required:
- offering_id
title: BookingCreate
CoachRecordBooking:
properties:
offering_id:
type: string
format: uuid
title: Offering Id
athlete_id:
type: string
format: uuid
title: Athlete Id
payment_method:
type: string
title: Payment Method
default: manual
session_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Session Date
type: object
required:
- offering_id
- athlete_id
title: CoachRecordBooking
DropInBookingCreate:
properties:
occurrence_key:
type: string
title: Occurrence Key
payment_method:
type: string
title: Payment Method
default: manual
type: object
required:
- occurrence_key
title: DropInBookingCreate
OfferingSession:
properties:
scheduled_at:
type: string
format: date-time
title: Scheduled At
duration_min:
type: integer
exclusiveMinimum: 0.0
title: Duration Min
type: object
required:
- scheduled_at
- duration_min
title: OfferingSession
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
OfferingUpdate:
properties:
discipline:
anyOf:
- type: string
enum:
- bjj
- luta_livre
- taekwondo
- karate
- muay_thai
- sambo
- kickboxing
- judo
- aikido
- mma
- type: 'null'
title: Discipline
title:
anyOf:
- type: string
- type: 'null'
title: Title
description:
anyOf:
- type: string
- type: 'null'
title: Description
price_amount:
anyOf:
- type: number
- type: 'null'
title: Price Amount
currency:
anyOf:
- type: string
- type: 'null'
title: Currency
stripe_price_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Price Id
purchase_order_item_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Purchase Order Item Id
scheduled_at:
anyOf:
- type: string
- type: 'null'
title: Scheduled At
duration_min:
anyOf:
- type: integer
- type: 'null'
title: Duration Min
sessions:
anyOf:
- items:
$ref: '#/components/schemas/OfferingSession'
type: array
- type: 'null'
title: Sessions
location_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Location Id
location_text:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Location Text
capacity:
anyOf:
- type: integer
- type: 'null'
title: Capacity
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
rrule:
anyOf:
- type: string
- type: 'null'
title: Rrule
dtstart_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Dtstart Date
until_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Until Date
start_time:
anyOf:
- type: string
format: time
- type: 'null'
title: Start Time
is_organization_wide:
anyOf:
- type: boolean
- type: 'null'
title: Is Organization Wide
visitor_billing_mode:
anyOf:
- type: string
enum:
- home_branch_invoice
- host_branch_invoice
- type: 'null'
title: Visitor Billing Mode
host_invoice_payment_method:
anyOf:
- type: string
enum:
- manual
- stripe
- type: 'null'
title: Host Invoice Payment Method
home_branch_commission_pct:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Home Branch Commission Pct
type: object
title: OfferingUpdate
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml