CompTeam Travel API

The Travel API from CompTeam — 13 operation(s) for travel.

GitHub OpenAPI

Operations 17

GET /api/v1/travel-groups/ List Groups #
POST /api/v1/travel-groups/ Create Group #
GET /api/v1/travel-groups/{group_id} Get Group #
PATCH /api/v1/travel-groups/{group_id} Update Group #
DELETE /api/v1/travel-groups/{group_id} Delete Group #
POST /api/v1/travel-groups/{group_id}/responsible Set Responsible #
GET /api/v1/travel-groups/{group_id}/eligible-athletes List Eligible Athletes #
GET /api/v1/travel-groups/{group_id}/eligible-coaches List Eligible Coaches #
POST /api/v1/travel-groups/{group_id}/items Add Item #
PATCH /api/v1/travel-groups/items/{item_id} Update Item #
DELETE /api/v1/travel-groups/items/{item_id} Delete Item #
POST /api/v1/travel-groups/{group_id}/assignments Assign Member #
DELETE /api/v1/travel-groups/assignments/{assignment_id} Remove Assignment #
POST /api/v1/travel-groups/{group_id}/join Self Join #
DELETE /api/v1/travel-groups/{group_id}/leave Self Leave #
POST /api/v1/travel-groups/{group_id}/consent/request Request Consent #
POST /api/v1/travel-groups/{group_id}/complete Complete Travel #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-travel-api"
All apis
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.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

compteam-io-travel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Travel API
  version: 0.1.0
  description: 'Operations tagged Travel 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: Travel
paths:
  /api/v1/travel-groups/:
    get:
      tags:
      - Travel
      summary: List Groups
      operationId: list_groups_api_v1_travel_groups__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    post:
      tags:
      - Travel
      summary: Create Group
      operationId: create_group_api_v1_travel_groups__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupCreate'
        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/travel-groups/{group_id}:
    get:
      tags:
      - Travel
      summary: Get Group
      operationId: get_group_api_v1_travel_groups__group_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Travel
      summary: Update Group
      operationId: update_group_api_v1_travel_groups__group_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GroupUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Travel
      summary: Delete Group
      operationId: delete_group_api_v1_travel_groups__group_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/responsible:
    post:
      tags:
      - Travel
      summary: Set Responsible
      operationId: set_responsible_api_v1_travel_groups__group_id__responsible_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponsibleBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/eligible-athletes:
    get:
      tags:
      - Travel
      summary: List Eligible Athletes
      operationId: list_eligible_athletes_api_v1_travel_groups__group_id__eligible_athletes_get
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/eligible-coaches:
    get:
      tags:
      - Travel
      summary: List Eligible Coaches
      operationId: list_eligible_coaches_api_v1_travel_groups__group_id__eligible_coaches_get
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/items:
    post:
      tags:
      - Travel
      summary: Add Item
      operationId: add_item_api_v1_travel_groups__group_id__items_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/items/{item_id}:
    patch:
      tags:
      - Travel
      summary: Update Item
      operationId: update_item_api_v1_travel_groups_items__item_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Item Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Travel
      summary: Delete Item
      operationId: delete_item_api_v1_travel_groups_items__item_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Item Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/assignments:
    post:
      tags:
      - Travel
      summary: Assign Member
      operationId: assign_member_api_v1_travel_groups__group_id__assignments_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/assignments/{assignment_id}:
    delete:
      tags:
      - Travel
      summary: Remove Assignment
      operationId: remove_assignment_api_v1_travel_groups_assignments__assignment_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: assignment_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Assignment Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/join:
    post:
      tags:
      - Travel
      summary: Self Join
      operationId: self_join_api_v1_travel_groups__group_id__join_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/leave:
    delete:
      tags:
      - Travel
      summary: Self Leave
      operationId: self_leave_api_v1_travel_groups__group_id__leave_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/consent/request:
    post:
      tags:
      - Travel
      summary: Request Consent
      operationId: request_consent_api_v1_travel_groups__group_id__consent_request_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/travel-groups/{group_id}/complete:
    post:
      tags:
      - Travel
      summary: Complete Travel
      operationId: complete_travel_api_v1_travel_groups__group_id__complete_post
      security:
      - HTTPBearer: []
      parameters:
      - name: group_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Group 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
    ResponsibleBody:
      properties:
        athlete_id:
          type: string
          format: uuid
          title: Athlete Id
      type: object
      required:
      - athlete_id
      title: ResponsibleBody
    GroupCreate:
      properties:
        competition_id:
          type: string
          format: uuid
          title: Competition Id
        name:
          type: string
          title: Name
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        fixed_group_price:
          type: number
          title: Fixed Group Price
          default: 0
        planned_headcount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Planned Headcount
        charge_method:
          type: string
          title: Charge Method
          default: stripe
        currency:
          type: string
          title: Currency
          default: EUR
        departure_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Departure At
        return_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Return At
        departure_location:
          anyOf:
          - type: string
          - type: 'null'
          title: Departure Location
        dropoff_location:
          anyOf:
          - type: string
          - type: 'null'
          title: Dropoff Location
      type: object
      required:
      - competition_id
      - name
      title: GroupCreate
    ItemUpdate:
      properties:
        type:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
        amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
        is_per_athlete:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Per Athlete
        distribute:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Distribute
      type: object
      title: ItemUpdate
    ItemCreate:
      properties:
        type:
          type: string
          title: Type
        label:
          type: string
          title: Label
        amount:
          type: number
          title: Amount
        is_per_athlete:
          type: boolean
          title: Is Per Athlete
          default: false
        distribute:
          type: boolean
          title: Distribute
          default: true
      type: object
      required:
      - type
      - label
      - amount
      title: ItemCreate
    GroupUpdate:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        fixed_group_price:
          anyOf:
          - type: number
          - type: 'null'
          title: Fixed Group Price
        planned_headcount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Planned Headcount
        charge_method:
          anyOf:
          - type: string
          - type: 'null'
          title: Charge Method
        departure_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Departure At
        return_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Return At
        departure_location:
          anyOf:
          - type: string
          - type: 'null'
          title: Departure Location
        dropoff_location:
          anyOf:
          - type: string
          - type: 'null'
          title: Dropoff Location
      type: object
      title: GroupUpdate
    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
    AssignBody:
      properties:
        athlete_id:
          type: string
          format: uuid
          title: Athlete Id
        member_role:
          type: string
          title: Member Role
          default: athlete
      type: object
      required:
      - athlete_id
      title: AssignBody
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml