Chatty Analytics Funnels API

The Funnels API from Chatty Analytics — 11 operation(s) for funnels.

GitHub OpenAPI

Operations 19

GET /company_workspace/{company_id}/funnels List Funnels #
POST /company_workspace/{company_id}/funnels Create Funnel #
GET /company_workspace/{company_id}/funnels/oportunidades Get Funnel Opportunities #
GET /company_workspace/{company_id}/funnels/counts Get Funnels Counts #
GET /company_workspace/{company_id}/funnels/{funnel_id} Get Funnel #
PUT /company_workspace/{company_id}/funnels/{funnel_id} Update Funnel #
DELETE /company_workspace/{company_id}/funnels/{funnel_id} Delete Funnel #
GET /company_workspace/{company_id}/funnels/{funnel_id}/stages List Funnel Stages #
POST /company_workspace/{company_id}/funnels/{funnel_id}/stages Create Funnel Stage #
PUT /company_workspace/{company_id}/funnels/{funnel_id}/stages/reorder Reorder Funnel Stages #
GET /company_workspace/{company_id}/funnels/{funnel_id}/stages/{stage_id} Get Funnel Stage #
PUT /company_workspace/{company_id}/funnels/{funnel_id}/stages/{stage_id} Update Funnel Stage #
DELETE /company_workspace/{company_id}/funnels/{funnel_id}/stages/{stage_id} Delete Funnel Stage #
GET /company_workspace/{company_id}/funnels/{funnel_id}/members List Funnel Members #
POST /company_workspace/{company_id}/funnels/{funnel_id}/members Add Funnel Member #
PUT /company_workspace/{company_id}/funnels/{funnel_id}/members/{member_id} Update Funnel Member #
DELETE /company_workspace/{company_id}/funnels/{funnel_id}/members/{member_id} Remove Funnel Member #
GET /company_workspace/{company_id}/funnels/{funnel_id}/stats Get Funnel Stats #
GET /company_workspace/{company_id}/funnels/{funnel_id}/previews Get Funnel Previews #

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/letschatty-com:letschatty-com-funnels-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

letschatty-com-funnels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Letschatty Com Funnels API
  version: '4.0'
  description: 'Operations tagged Funnels across 2 of this provider''s published API definitions: openapi.json, letschatty-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Funnels
paths:
  /company_workspace/{company_id}/funnels:
    get:
      tags:
      - Funnels
      summary: List Funnels
      description: 'Lista los funnels SIN los contadores de badges. No los agregues de vuelta.


        Medido en prod sobre una empresa de 149.632 chats: el endpoint tardaba 4,8s,

        de los cuales 1424ms eran listar los funnels y 3386ms las dos agregaciones de

        get_funnel_counts sobre todos los chats en funnel de la empresa. El usuario no

        necesita los badges para ver la lista, asi que los contadores se piden aparte

        en GET /{company_id}/funnels/counts y el front los rellena detras de un

        skeleton. Mismo corte que include_stage_totals en el board.


        Las claves not_read_count / escalated_count se OMITEN, no van en cero: un cero

        no se distingue de un cero real, asi que el front no podria decidir entre

        mostrar skeleton o el numero, y pintaria un badge incorrecto. Ausente es

        inequivoco.'
      operationId: list_funnels_company_workspace__company_id__funnels_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Funnels
      summary: Create Funnel
      operationId: create_funnel_company_workspace__company_id__funnels_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/oportunidades:
    get:
      tags:
      - Funnels
      summary: Get Funnel Opportunities
      description: 'Chats EN VIVO parados en una etapa que todavía vende, con la chance que les queda.


        Cruza el perfil de etapas del lambda de analytics (porcentajes, Redshift) con los chats

        de Mongo. Ver company/chats/previews/oportunidades_embudo.py y

        docs/oportunidades-de-embudo.md.'
      operationId: get_funnel_opportunities_company_workspace__company_id__funnels_oportunidades_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/counts:
    get:
      tags:
      - Funnels
      summary: Get Funnels Counts
      description: 'Contadores de badges por funnel, separados del listado (ver list_funnels). `account_id` / `accounts`

        (opcional): sólo los chats de esas cuentas, dentro del piso del usuario (fuera de él, 403).'
      operationId: get_funnels_counts_company_workspace__company_id__funnels_counts_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Account Id
      - name: accounts
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accounts
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}:
    get:
      tags:
      - Funnels
      summary: Get Funnel
      operationId: get_funnel_company_workspace__company_id__funnels__funnel_id__get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Funnels
      summary: Update Funnel
      operationId: update_funnel_company_workspace__company_id__funnels__funnel_id__put
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Funnels
      summary: Delete Funnel
      operationId: delete_funnel_company_workspace__company_id__funnels__funnel_id__delete
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/stages:
    get:
      tags:
      - Funnels
      summary: List Funnel Stages
      operationId: list_funnel_stages_company_workspace__company_id__funnels__funnel_id__stages_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Funnels
      summary: Create Funnel Stage
      operationId: create_funnel_stage_company_workspace__company_id__funnels__funnel_id__stages_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/stages/reorder:
    put:
      tags:
      - Funnels
      summary: Reorder Funnel Stages
      operationId: reorder_funnel_stages_company_workspace__company_id__funnels__funnel_id__stages_reorder_put
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/stages/{stage_id}:
    get:
      tags:
      - Funnels
      summary: Get Funnel Stage
      operationId: get_funnel_stage_company_workspace__company_id__funnels__funnel_id__stages__stage_id__get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: stage_id
        in: path
        required: true
        schema:
          type: string
          title: Stage Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Funnels
      summary: Update Funnel Stage
      operationId: update_funnel_stage_company_workspace__company_id__funnels__funnel_id__stages__stage_id__put
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: stage_id
        in: path
        required: true
        schema:
          type: string
          title: Stage Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Funnels
      summary: Delete Funnel Stage
      operationId: delete_funnel_stage_company_workspace__company_id__funnels__funnel_id__stages__stage_id__delete
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: stage_id
        in: path
        required: true
        schema:
          type: string
          title: Stage Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/members:
    get:
      tags:
      - Funnels
      summary: List Funnel Members
      operationId: list_funnel_members_company_workspace__company_id__funnels__funnel_id__members_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Funnels
      summary: Add Funnel Member
      operationId: add_funnel_member_company_workspace__company_id__funnels__funnel_id__members_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/members/{member_id}:
    put:
      tags:
      - Funnels
      summary: Update Funnel Member
      operationId: update_funnel_member_company_workspace__company_id__funnels__funnel_id__members__member_id__put
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          title: Member Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Funnels
      summary: Remove Funnel Member
      operationId: remove_funnel_member_company_workspace__company_id__funnels__funnel_id__members__member_id__delete
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          title: Member Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/stats:
    get:
      tags:
      - Funnels
      summary: Get Funnel Stats
      operationId: get_funnel_stats_company_workspace__company_id__funnels__funnel_id__stats_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /company_workspace/{company_id}/funnels/{funnel_id}/previews:
    get:
      tags:
      - Funnels
      summary: Get Funnel Previews
      operationId: get_funnel_previews_company_workspace__company_id__funnels__funnel_id__previews_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: funnel_id
        in: path
        required: true
        schema:
          type: string
          title: Funnel Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- openapi.json
- letschatty-com-openapi.json