Chatty Analytics Contact Points API

The Contact Points API from Chatty Analytics — 4 operation(s) for contact points.

GitHub OpenAPI

Operations 5

GET /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points List Chat Contact Points #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points Add Contact Point #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points/{contact_point_id}/reattribute Reattribute Chat Contact Point #
DELETE /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points/{contact_point_id} Delete Contact Point #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points/{contact_point_id}/attribution_decision Decide Contact Point Attribution #

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-contact-points-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-contact-points-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Letschatty Com Contact Points API
  version: '4.0'
  description: 'Operations tagged Contact Points 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: Contact Points
paths:
  /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points:
    get:
      tags:
      - Contact Points
      summary: List Chat Contact Points
      description: 'Los touchpoints del chat, cada uno con la fuente a la que está atribuido.


        Ordenados del más nuevo al más viejo. `new_chat` marca cuál abrió la conversación

        — ése es el que define el origen del lead, los demás son re-contactos.'
      operationId: list_chat_contact_points_chat_workspace_company__company_id__chat__chat_id__contact_points_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'
    post:
      tags:
      - Contact Points
      summary: Add Contact Point
      description: 'Da de alta un touchpoint cargado a mano.


        Body: `{"source_id": "...", "occurred_at": "2026-08-01T15:00:00Z"}` — `occurred_at`

        es opcional y puede fecharse hacia atrás, para touchpoints que ocurrieron antes de

        cargarse (una feria, una recomendación).


        NO dispara las automatizaciones de la fuente: sólo suma atribución.'
      operationId: add_contact_point_chat_workspace_company__company_id__chat__chat_id__contact_points_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: 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'
  /chat_workspace/company/{company_id}/chat/{chat_id}/contact_points/{contact_point_id}/reattribute:
    post:
      tags:
      - Contact Points
      summary: Reattribute Chat Contact Point
      description: 'Reatribuye UN touchpoint de este chat a otra fuente.


        Body: `{"source_id": "...", "dry_run": false}`


        No unifica ni borra nada: la fuente vieja queda intacta con todos sus otros

        touchpoints. Mueve este touchpoint, reescribe el rastro del origen dentro del

        chat (highlight + notificaciones) y emite CONTACT_POINT_UPDATED para que la

        atribución se corrija también en analytics.


        Ojo: NO re-ejecuta automatizaciones. Las etiquetas y workflows que aplicó la

        fuente vieja siguen puestos — cambiar la atribución no rehace la historia.


        Permisos: va contra INBOX, así que lo puede hacer cualquier agente que tenga el

        chat. Es deliberado: quien ve que el origen está mal es el que está atendiendo,

        y mandarlo a pedir permiso de fuentes garantiza que no se corrija nunca.'
      operationId: reattribute_chat_contact_point_chat_workspace_company__company_id__chat__chat_id__contact_points__contact_point_id__reattribute_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: contact_point_id
        in: path
        required: true
        schema:
          type: string
          title: Contact Point 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}/contact_points/{contact_point_id}:
    delete:
      tags:
      - Contact Points
      summary: Delete Contact Point
      description: 'Saca un touchpoint del chat y lo elimina.


        Se permite borrar el que abrió la conversación; el chat queda sin origen hasta que

        carguen otro, y avisarlo es tarea de la UI.'
      operationId: delete_contact_point_chat_workspace_company__company_id__chat__chat_id__contact_points__contact_point_id__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: contact_point_id
        in: path
        required: true
        schema:
          type: string
          title: Contact Point 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}/contact_points/{contact_point_id}/attribution_decision:
    post:
      tags:
      - Contact Points
      summary: Decide Contact Point Attribution
      description: 'La decisión humana sobre una atribución inferida/sugerida (PRD flujos B–G).


        Body: `{"action": "confirmed_ad" | "unknown_ad" | "rejected", "source_id": "..."}`

        - `confirmed_ad` (requiere source_id): "fue este anuncio" — el chat pasa entero a

        esa fuente, marcado confirmado. Alimenta la precisión de la plantilla.

        - `unknown_ad`: "fue un anuncio, pero no sé cuál" — el chat pasa SÍ o SÍ al balde

        "Anuncios Meta (inferido)", aunque Meta no haya mandado nada: la afirmación

        humana alcanza. Confirma la familia, no computa identidad.

        - `rejected` (source_id opcional): "ninguno de estos" — a otra fuente si viene,

        o queda donde está. Cuenta como rechazo (frena/reviende la graduación).


        Mismos permisos que el reattribute de arriba (INBOX): quien atiende el chat es

        quien ve que el origen está mal.'
      operationId: decide_contact_point_attribution_chat_workspace_company__company_id__chat__chat_id__contact_points__contact_point_id__attribution_decision_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: contact_point_id
        in: path
        required: true
        schema:
          type: string
          title: Contact Point 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