CompTeam Admin Gym Leads API

The Admin Gym Leads API from CompTeam — 11 operation(s) for admin gym leads.

GitHub OpenAPI

Operations 13

GET /api/v1/admin/gym-leads/unsubscribe Unsubscribe Gym Lead #
GET /api/v1/admin/gym-leads/ List Gym Leads #
POST /api/v1/admin/gym-leads/discovery-runs Create Gym Lead Discovery Run #
GET /api/v1/admin/gym-leads/discovery-runs List Gym Lead Discovery Runs #
POST /api/v1/admin/gym-leads/invitations/preview Preview Gym Lead Invitations #
POST /api/v1/admin/gym-leads/invitations Send Gym Lead Invitations #
GET /api/v1/admin/gym-leads/unattached-users List Unattached Authenticated Users #
DELETE /api/v1/admin/gym-leads/unattached-users/{user_id} Delete Unattached Authenticated User #
POST /api/v1/admin/gym-leads/unattached-users/{user_id}/followup Send Unattached Authenticated User Followup #
PATCH /api/v1/admin/gym-leads/{lead_id} Update Gym Lead #
DELETE /api/v1/admin/gym-leads/{lead_id} Delete Gym Lead #
POST /api/v1/admin/gym-leads/{lead_id}/outreach Send Gym Lead Outreach #
POST /api/v1/admin/gym-leads/{lead_id}/message-athlete Send Gym Lead Athlete Message #

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-admin-gym-leads-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. 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 Specification

compteam-io-admin-gym-leads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Admin Gym Leads API
  version: 0.1.0
  description: 'Operations tagged Admin Gym Leads 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: Admin Gym Leads
paths:
  /api/v1/admin/gym-leads/unsubscribe:
    get:
      tags:
      - Admin Gym Leads
      summary: Unsubscribe Gym Lead
      operationId: unsubscribe_gym_lead_api_v1_admin_gym_leads_unsubscribe_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/:
    get:
      tags:
      - Admin Gym Leads
      summary: List Gym Leads
      operationId: list_gym_leads_api_v1_admin_gym_leads__get
      security:
      - HTTPBearer: []
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - new
            - contacted
            - converted
            - lost
            type: string
          - type: 'null'
          title: Status
      - name: country
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
      - name: include_unsubscribed
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Unsubscribed
      - name: claimed
        in: query
        required: false
        schema:
          enum:
          - all
          - claimed
          - unclaimed
          type: string
          default: all
          title: Claimed
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 100
          title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/discovery-runs:
    post:
      tags:
      - Admin Gym Leads
      summary: Create Gym Lead Discovery Run
      operationId: create_gym_lead_discovery_run_api_v1_admin_gym_leads_discovery_runs_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadDiscoveryRunRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Admin Gym Leads
      summary: List Gym Lead Discovery Runs
      operationId: list_gym_lead_discovery_runs_api_v1_admin_gym_leads_discovery_runs_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 5
          minimum: 1
          default: 5
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/invitations/preview:
    post:
      tags:
      - Admin Gym Leads
      summary: Preview Gym Lead Invitations
      operationId: preview_gym_lead_invitations_api_v1_admin_gym_leads_invitations_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadInvitationRequest'
        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/admin/gym-leads/invitations:
    post:
      tags:
      - Admin Gym Leads
      summary: Send Gym Lead Invitations
      operationId: send_gym_lead_invitations_api_v1_admin_gym_leads_invitations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadInvitationRequest'
        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/admin/gym-leads/unattached-users:
    get:
      tags:
      - Admin Gym Leads
      summary: List Unattached Authenticated Users
      operationId: list_unattached_authenticated_users_api_v1_admin_gym_leads_unattached_users_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/admin/gym-leads/unattached-users/{user_id}:
    delete:
      tags:
      - Admin Gym Leads
      summary: Delete Unattached Authenticated User
      operationId: delete_unattached_authenticated_user_api_v1_admin_gym_leads_unattached_users__user_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/unattached-users/{user_id}/followup:
    post:
      tags:
      - Admin Gym Leads
      summary: Send Unattached Authenticated User Followup
      operationId: send_unattached_authenticated_user_followup_api_v1_admin_gym_leads_unattached_users__user_id__followup_post
      security:
      - HTTPBearer: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/{lead_id}:
    patch:
      tags:
      - Admin Gym Leads
      summary: Update Gym Lead
      operationId: update_gym_lead_api_v1_admin_gym_leads__lead_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          title: Lead Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Admin Gym Leads
      summary: Delete Gym Lead
      operationId: delete_gym_lead_api_v1_admin_gym_leads__lead_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          title: Lead Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/{lead_id}/outreach:
    post:
      tags:
      - Admin Gym Leads
      summary: Send Gym Lead Outreach
      operationId: send_gym_lead_outreach_api_v1_admin_gym_leads__lead_id__outreach_post
      security:
      - HTTPBearer: []
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          title: Lead Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadOutreach'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/admin/gym-leads/{lead_id}/message-athlete:
    post:
      tags:
      - Admin Gym Leads
      summary: Send Gym Lead Athlete Message
      operationId: send_gym_lead_athlete_message_api_v1_admin_gym_leads__lead_id__message_athlete_post
      security:
      - HTTPBearer: []
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          title: Lead Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GymLeadAthleteMessage'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GymLeadDiscoveryRunRequest:
      properties:
        country:
          type: string
          maxLength: 80
          minLength: 1
          title: Country
        max_results:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Max Results
          default: 50
      type: object
      required:
      - country
      title: GymLeadDiscoveryRunRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GymLeadInvitationRequest:
      properties:
        lead_ids:
          items:
            type: string
          type: array
          minItems: 1
          title: Lead Ids
        custom_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Note
        language:
          type: string
          enum:
          - en
          - es
          - fr
          - de
          - pl
          title: Language
          default: en
        currency:
          type: string
          enum:
          - USD
          - EUR
          - EGP
          - NOK
          - DKK
          - CHF
          - GBP
          - CZK
          - HUF
          - PLN
          - RON
          - SEK
          - ALL
          - TRY
          title: Currency
          default: EUR
        weight_unit:
          type: string
          enum:
          - kg
          - lbs
          title: Weight Unit
          default: kg
      type: object
      required:
      - lead_ids
      title: GymLeadInvitationRequest
    GymLeadAthleteMessage:
      properties:
        subject:
          type: string
          maxLength: 120
          minLength: 1
          title: Subject
        message:
          type: string
          maxLength: 2000
          minLength: 1
          title: Message
      type: object
      required:
      - subject
      - message
      title: GymLeadAthleteMessage
    GymLeadOutreach:
      properties:
        custom_note:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Note
      type: object
      title: GymLeadOutreach
    GymLeadUpdate:
      properties:
        status:
          anyOf:
          - type: string
            enum:
            - new
            - contacted
            - converted
            - lost
          - type: 'null'
          title: Status
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
      type: object
      title: GymLeadUpdate
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml