---
title: "Paso 4: Vincular el chat a un contacto"
method: POST
path: "/api/v4/contacts/chats"
---

# Paso 4: Vincular el chat a un contacto

`POST /api/v4/contacts/chats`

The method allows you to link an existing chat to a contact.

## Headers

- `Content-Type` 'application/json'

## Request body

- object
  - `RAW_BODY` object[]
    - `contact_id` string — ID del contacto en Kommo
    - `chat_id` string — ID del chat en la API de Chats de Kommo

## Response `200`

200

- object
  - `_total_items` integer
  - `_embedded` object
    - `chats` object[]
      - `chat_id` string
      - `contact_id` integer
      - `id` integer
      - `request_id` string

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403

---

[API](https://skmtc.net/kommo/apis/kommo-api.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api/revisions/e291c0b2038d/schema)
