Chatty Analytics Chat API

The Chat API from Chatty Analytics — 10 operation(s) for chat.

GitHub OpenAPI

Operations 11

GET /chat_workspace/company/{company_id}/chat/{chat_id} Get Chat #
GET /chat_workspace/company/{company_id}/chat/{chat_id}/compact Get Chat Compact #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/transfer_to_agent/{agent_destination_id} Transfer Chat #
POST /chat_workspace/company/webhook/chat/reset Chat Reset Webhook #
GET /chat_workspace/company/{company_id}/phone_number/{phone_number}/chat_id Get Chat Id By Phone Number #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/escalate Escalate Chat Direct #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/deescalate Deescalate Chat Direct #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/{action} Act On Chat #
PUT /chat_workspace/company/{company_id}/chat/{chat_id}/no_contactar Marcar No Contactar #
DELETE /chat_workspace/company/{company_id}/chat/{chat_id}/no_contactar Desmarcar No Contactar #
DELETE /chat_workspace/company/{company_id}/chat/{chat_id}/marcas_de_meta/{tipo} Quitar Marca De Meta #

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-chat-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-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Letschatty Com Chat API
  version: '4.0'
  description: 'Operations tagged Chat 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: Chat
paths:
  /chat_workspace/company/{company_id}/chat/{chat_id}:
    get:
      tags:
      - Chat
      summary: Get Chat
      operationId: get_chat_chat_workspace_company__company_id__chat__chat_id__get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: skip
        in: query
        required: false
        schema:
          type: integer
          default: 300
          title: Skip
      - 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/compact:
    get:
      tags:
      - Chat
      summary: Get Chat Compact
      operationId: get_chat_compact_chat_workspace_company__company_id__chat__chat_id__compact_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/transfer_to_agent/{agent_destination_id}:
    post:
      tags:
      - Chat
      summary: Transfer Chat
      operationId: transfer_chat_chat_workspace_company__company_id__chat__chat_id__transfer_to_agent__agent_destination_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: agent_destination_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Destination 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'
  /chat_workspace/company/webhook/chat/reset:
    post:
      tags:
      - Chat
      summary: Chat Reset Webhook
      operationId: chat_reset_webhook_chat_workspace_company_webhook_chat_reset_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /chat_workspace/company/{company_id}/phone_number/{phone_number}/chat_id:
    get:
      tags:
      - Chat
      summary: Get Chat Id By Phone Number
      description: 'The person''s chat in `account_id` (multi-account: one chat per account); without it, in the

        default account. Read-only: a disconnected account can still be looked up. Echoes the account.'
      operationId: get_chat_id_by_phone_number_chat_workspace_company__company_id__phone_number__phone_number__chat_id_get
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: phone_number
        in: path
        required: true
        schema:
          type: string
          title: Phone Number
      - name: account_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Account 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/escalate:
    post:
      tags:
      - Chat
      summary: Escalate Chat Direct
      operationId: escalate_chat_direct_chat_workspace_company__company_id__chat__chat_id__escalate_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/chat/{chat_id}/deescalate:
    post:
      tags:
      - Chat
      summary: Deescalate Chat Direct
      operationId: deescalate_chat_direct_chat_workspace_company__company_id__chat__chat_id__deescalate_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/chat/{chat_id}/{action}:
    post:
      tags:
      - Chat
      summary: Act On Chat
      operationId: act_on_chat_chat_workspace_company__company_id__chat__chat_id___action__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: action
        in: path
        required: true
        schema:
          type: string
          title: Action
      - 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/no_contactar:
    put:
      tags:
      - Chat
      summary: Marcar No Contactar
      operationId: marcar_no_contactar_chat_workspace_company__company_id__chat__chat_id__no_contactar_put
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat 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:
      - Chat
      summary: Desmarcar No Contactar
      operationId: desmarcar_no_contactar_chat_workspace_company__company_id__chat__chat_id__no_contactar_delete
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/marcas_de_meta/{tipo}:
    delete:
      tags:
      - Chat
      summary: Quitar Marca De Meta
      operationId: quitar_marca_de_meta_chat_workspace_company__company_id__chat__chat_id__marcas_de_meta__tipo__delete
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: tipo
        in: path
        required: true
        schema:
          type: string
          title: Tipo
      - 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