CompTeam Lead Membership Conversions API

The Lead Membership Conversions API from CompTeam — 5 operation(s) for lead membership conversions.

GitHub OpenAPI

Operations 6

POST /api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion Create Lead Membership Conversion #
GET /api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion Get Lead Membership Conversion #
POST /api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion/cancel Cancel Lead Membership Conversion #
POST /api/v1/lead-membership-conversions/{token}/start Start Lead Membership Conversion #
GET /api/v1/lead-membership-conversions/{token} Get Lead Membership Conversion Details #
POST /api/v1/lead-membership-conversions/{token}/complete Complete Lead Membership Conversion #

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-lead-membership-conversions-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-lead-membership-conversions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Lead Membership Conversions API
  version: 0.1.0
  description: 'Operations tagged Lead Membership Conversions 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: Lead Membership Conversions
paths:
  /api/v1/branches/{branch_id}/leads/{lead_id}/membership-conversion:
    post:
      tags:
      - Lead Membership Conversions
      summary: Create Lead Membership Conversion
      operationId: create_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_post
      security:
      - HTTPBearer: []
      parameters:
      - name: branch_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Branch Id
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Lead Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StaffConversionCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Lead Membership Conversions
      summary: Get Lead Membership Conversion
      operationId: get_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_get
      security:
      - HTTPBearer: []
      parameters:
      - name: branch_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Branch Id
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          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/branches/{branch_id}/leads/{lead_id}/membership-conversion/cancel:
    post:
      tags:
      - Lead Membership Conversions
      summary: Cancel Lead Membership Conversion
      operationId: cancel_lead_membership_conversion_api_v1_branches__branch_id__leads__lead_id__membership_conversion_cancel_post
      security:
      - HTTPBearer: []
      parameters:
      - name: branch_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Branch Id
      - name: lead_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          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/lead-membership-conversions/{token}/start:
    post:
      tags:
      - Lead Membership Conversions
      summary: Start Lead Membership Conversion
      operationId: start_lead_membership_conversion_api_v1_lead_membership_conversions__token__start_post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lead-membership-conversions/{token}:
    get:
      tags:
      - Lead Membership Conversions
      summary: Get Lead Membership Conversion Details
      operationId: get_lead_membership_conversion_details_api_v1_lead_membership_conversions__token__get
      security:
      - HTTPBearer: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/lead-membership-conversions/{token}/complete:
    post:
      tags:
      - Lead Membership Conversions
      summary: Complete Lead Membership Conversion
      operationId: complete_lead_membership_conversion_api_v1_lead_membership_conversions__token__complete_post
      security:
      - HTTPBearer: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConversionComplete'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StaffConversionCreate:
      properties:
        plan_id:
          type: string
          format: uuid
          title: Plan Id
        first_name:
          type: string
          title: First Name
        last_name:
          type: string
          title: Last Name
        email:
          type: string
          format: email
          title: Email
        date_of_birth:
          type: string
          format: date
          title: Date Of Birth
        address_line1:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line1
        address_line2:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line2
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        postal_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Postal Code
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
      type: object
      required:
      - plan_id
      - first_name
      - last_name
      - email
      - date_of_birth
      title: StaffConversionCreate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConversionComplete:
      properties:
        terms_version:
          type: integer
          title: Terms Version
        accept_terms:
          type: boolean
          title: Accept Terms
          default: false
        accept_data_processing:
          type: boolean
          title: Accept Data Processing
          default: false
        accept_training_consent:
          type: boolean
          title: Accept Training Consent
          default: false
        gender:
          anyOf:
          - type: string
            enum:
            - male
            - female
            - other
          - type: 'null'
          title: Gender
        address_line1:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line1
        address_line2:
          anyOf:
          - type: string
          - type: 'null'
          title: Address Line2
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        postal_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Postal Code
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        account_holder_name:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Account Holder Name
        iban:
          anyOf:
          - type: string
          - type: 'null'
          title: Iban
        guardian_first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Guardian First Name
        guardian_last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Guardian Last Name
        relationship:
          type: string
          enum:
          - parent
          - legal_guardian
          title: Relationship
          default: parent
      type: object
      required:
      - terms_version
      title: ConversionComplete
    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