CompTeam Branch Settings API

The Branch Settings API from CompTeam — 16 operation(s) for branch settings.

GitHub OpenAPI

Operations 21

GET /api/v1/branch-settings/me Get My Branch Summary #
POST /api/v1/branch-settings/logo Upload Branch Logo #
DELETE /api/v1/branch-settings/logo Delete Branch Logo #
GET /api/v1/branch-settings/logo-url Get Branch Logo Url #
POST /api/v1/branch-settings/secondary-logo Upload Secondary Branch Logo #
DELETE /api/v1/branch-settings/secondary-logo Delete Secondary Branch Logo #
GET /api/v1/branch-settings/secondary-logo-url Get Secondary Branch Logo Url #
GET /api/v1/branch-settings/recruitment-pdf Download Recruitment Pdf #
GET /api/v1/branch-settings/branch Get Branch #
DELETE /api/v1/branch-settings/branch Delete Branch #
PATCH /api/v1/branch-settings/branch Update Branch #
PUT /api/v1/branch-settings/branch/organization Reassign Branch Organization #
GET /api/v1/branch-settings/stripe Get Stripe Config #
PUT /api/v1/branch-settings/stripe Upsert Stripe Config #
GET /api/v1/branch-settings/stripe/connect Connect Stripe #
POST /api/v1/branch-settings/stripe/account-session Create Stripe Account Session #
GET /api/v1/branch-settings/stripe/catalog Get Stripe Catalog #
DELETE /api/v1/branch-settings/stripe/connection Disconnect Stripe Connection #
DELETE /api/v1/branch-settings/stripe/{field} Revoke Stripe Secret #
GET /api/v1/branch-settings/stripe/account Get Stripe Account #
GET /api/v1/branch-settings/stripe/oauth/callback Stripe Oauth Callback #

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-branch-settings-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-branch-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Branch Settings API
  version: 0.1.0
  description: 'Operations tagged Branch Settings 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: Branch Settings
paths:
  /api/v1/branch-settings/me:
    get:
      tags:
      - Branch Settings
      summary: Get My Branch Summary
      operationId: get_my_branch_summary_api_v1_branch_settings_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/logo:
    post:
      tags:
      - Branch Settings
      summary: Upload Branch Logo
      operationId: upload_branch_logo_api_v1_branch_settings_logo_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_branch_logo_api_v1_branch_settings_logo_post'
        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: []
    delete:
      tags:
      - Branch Settings
      summary: Delete Branch Logo
      operationId: delete_branch_logo_api_v1_branch_settings_logo_delete
      responses:
        '204':
          description: Successful Response
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/logo-url:
    get:
      tags:
      - Branch Settings
      summary: Get Branch Logo Url
      operationId: get_branch_logo_url_api_v1_branch_settings_logo_url_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/secondary-logo:
    post:
      tags:
      - Branch Settings
      summary: Upload Secondary Branch Logo
      operationId: upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post'
        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: []
    delete:
      tags:
      - Branch Settings
      summary: Delete Secondary Branch Logo
      operationId: delete_secondary_branch_logo_api_v1_branch_settings_secondary_logo_delete
      responses:
        '204':
          description: Successful Response
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/secondary-logo-url:
    get:
      tags:
      - Branch Settings
      summary: Get Secondary Branch Logo Url
      operationId: get_secondary_branch_logo_url_api_v1_branch_settings_secondary_logo_url_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/recruitment-pdf:
    get:
      tags:
      - Branch Settings
      summary: Download Recruitment Pdf
      operationId: download_recruitment_pdf_api_v1_branch_settings_recruitment_pdf_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/branch:
    get:
      tags:
      - Branch Settings
      summary: Get Branch
      operationId: get_branch_api_v1_branch_settings_branch_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    delete:
      tags:
      - Branch Settings
      summary: Delete Branch
      operationId: delete_branch_api_v1_branch_settings_branch_delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteBranchBody'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
    patch:
      tags:
      - Branch Settings
      summary: Update Branch
      operationId: update_branch_api_v1_branch_settings_branch_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BranchUpdate'
        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/branch-settings/branch/organization:
    put:
      tags:
      - Branch Settings
      summary: Reassign Branch Organization
      operationId: reassign_branch_organization_api_v1_branch_settings_branch_organization_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationAssignmentUpdate'
        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/branch-settings/stripe:
    get:
      tags:
      - Branch Settings
      summary: Get Stripe Config
      operationId: get_stripe_config_api_v1_branch_settings_stripe_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    put:
      tags:
      - Branch Settings
      summary: Upsert Stripe Config
      operationId: upsert_stripe_config_api_v1_branch_settings_stripe_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StripeConfigIn'
        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/branch-settings/stripe/connect:
    get:
      tags:
      - Branch Settings
      summary: Connect Stripe
      operationId: connect_stripe_api_v1_branch_settings_stripe_connect_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/stripe/account-session:
    post:
      tags:
      - Branch Settings
      summary: Create Stripe Account Session
      operationId: create_stripe_account_session_api_v1_branch_settings_stripe_account_session_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/stripe/catalog:
    get:
      tags:
      - Branch Settings
      summary: Get Stripe Catalog
      operationId: get_stripe_catalog_api_v1_branch_settings_stripe_catalog_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/stripe/connection:
    delete:
      tags:
      - Branch Settings
      summary: Disconnect Stripe Connection
      operationId: disconnect_stripe_connection_api_v1_branch_settings_stripe_connection_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/stripe/{field}:
    delete:
      tags:
      - Branch Settings
      summary: Revoke Stripe Secret
      operationId: revoke_stripe_secret_api_v1_branch_settings_stripe__field__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: field
        in: path
        required: true
        schema:
          enum:
          - secret_key
          - webhook_secret
          type: string
          title: Field
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/branch-settings/stripe/account:
    get:
      tags:
      - Branch Settings
      summary: Get Stripe Account
      operationId: get_stripe_account_api_v1_branch_settings_stripe_account_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/branch-settings/stripe/oauth/callback:
    get:
      tags:
      - Branch Settings
      summary: Stripe Oauth Callback
      operationId: stripe_oauth_callback_api_v1_branch_settings_stripe_oauth_callback_get
      parameters:
      - name: code
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: error
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      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
    Body_upload_branch_logo_api_v1_branch_settings_logo_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_branch_logo_api_v1_branch_settings_logo_post
    Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_secondary_branch_logo_api_v1_branch_settings_secondary_logo_post
    DeleteBranchBody:
      properties:
        confirm_name:
          type: string
          title: Confirm Name
      type: object
      required:
      - confirm_name
      title: DeleteBranchBody
    BranchUpdate:
      properties:
        coach_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Coach User Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        secondary_name:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Secondary Name
        address_line1:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line1
        address_line2:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line2
        postal_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Postal Code
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        join_requirements:
          anyOf:
          - type: string
          - type: 'null'
          title: Join Requirements
        included_perks:
          anyOf:
          - type: string
          - type: 'null'
          title: Included Perks
        recruitment_headline:
          anyOf:
          - type: string
          - type: 'null'
          title: Recruitment Headline
        background_choice:
          anyOf:
          - type: string
            enum:
            - collage_1
            - collage_2
            - collage_3
            - collage_4
            - collage_5
            - collage_6
            - collage_7
          - type: 'null'
          title: Background Choice
        terms_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Terms Text
        clearing_mode:
          anyOf:
          - type: string
            enum:
            - easy
            - full_bank
          - type: 'null'
          title: Clearing Mode
        creditor_identifier:
          anyOf:
          - type: string
          - type: 'null'
          title: Creditor Identifier
        sepa_iban:
          anyOf:
          - type: string
          - type: 'null'
          title: Sepa Iban
        sepa_bic:
          anyOf:
          - type: string
          - type: 'null'
          title: Sepa Bic
        sepa_collection_day:
          anyOf:
          - type: integer
            maximum: 28.0
            minimum: 1.0
          - type: 'null'
          title: Sepa Collection Day
        instagram_handle:
          anyOf:
          - type: string
          - type: 'null'
          title: Instagram Handle
        smoothcomp_club_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Smoothcomp Club Id
        default_language:
          anyOf:
          - type: string
          - type: 'null'
          title: Default Language
        club_billing_terminology_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Club Billing Terminology Enabled
        email_manual_invoices_to_athletes:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Email Manual Invoices To Athletes
        require_self_subscription_approval:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Require Self Subscription Approval
        allow_registration_without_membership:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Registration Without Membership
        require_member_photo:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Require Member Photo
        require_signup_fee_clearance_before_activation:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Require Signup Fee Clearance Before Activation
        signup_fee_payment_instructions:
          anyOf:
          - type: string
            maxLength: 5000
          - type: 'null'
          title: Signup Fee Payment Instructions
        allow_managed_adult_pending_activation:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Managed Adult Pending Activation
        require_membership_signature:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Require Membership Signature
        auto_checkin_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Auto Checkin Enabled
        face_recognition_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Face Recognition Enabled
        face_auto_attendance_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Face Auto Attendance Enabled
        allow_kiosk_walk_ins:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Kiosk Walk Ins
        allow_athlete_gear_orders:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Athlete Gear Orders
        require_gear_payment_clearance_before_confirmation:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Require Gear Payment Clearance Before Confirmation
        allow_coach_gear_payment_actions:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Coach Gear Payment Actions
        allow_athlete_paid_training:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Athlete Paid Training
        allow_athlete_competitions:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Athlete Competitions
        allow_athlete_travel:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Athlete Travel
        allow_athlete_my_bills:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Athlete My Bills
        migration_mode:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Migration Mode
        migration_membership_start_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Migration Membership Start Date
        trial_period_days:
          anyOf:
          - type: integer
            maximum: 30.0
            minimum: 1.0
          - type: 'null'
          title: Trial Period Days
        membership_cancellation_notice_months:
          anyOf:
          - type: integer
            maximum: 12.0
            minimum: 0.0
          - type: 'null'
          title: Membership Cancellation Notice Months
        tax_rate_pct:
          anyOf:
          - type: number
            exclusiveMaximum: 100.0
            minimum: 0.0
          - type: 'null'
          title: Tax Rate Pct
      type: object
      title: BranchUpdate
    OrganizationAssignmentUpdate:
      properties:
        organization_id:
          type: string
          title: Organization Id
        confirm_name:
          type: string
          title: Confirm Name
      type: object
      required:
      - organization_id
      - confirm_name
      title: OrganizationAssignmentUpdate
    StripeConfigIn:
      properties:
        stripe_secret_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Stripe Secret Key
        stripe_webhook_secret:
          anyOf:
          - type: string
          - type: 'null'
          title: Stripe Webhook Secret
      type: object
      title: StripeConfigIn
    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