---
title: "Enviar mensagem para uma conversa"
method: POST
path: "/api/v4/talks/{talk_id}/send_message"
---

# Enviar mensagem para uma conversa

`POST /api/v4/talks/{talk_id}/send_message`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/talks/{talk_id}/send_message`
- Auth: OAuth 2

Este método permite o envio de mensagem para uma conversa.

## Path parameters

- `talk_id` integer, required

## Request body

- object
  - `text` string: Texto da mensagem
  - `attachment` object: Objeto anexado
    - `type` 'file' | 'video' | 'picture', required: Tipo de anexo
    - `drive_uuid` string, required: UUID do arquivo no Drive da Kommo (https://pt-developers.kommo.com/reference/m%C3%A9todos-da-api-de-arquivos)
    - `drive_version_uuid` string, required: UUID da versão do arquivo no Drive da Kommo (https://pt-developers.kommo.com/reference/m%C3%A9todos-da-api-de-arquivos)

## Response `202`

Aceito

- object
  - `id` string

## Other responses

- `400`: Pedido ruim
- `402`: Pagamento necessário
- `403`: Proibido
- `404`: Não encontrado
- `422`: Entidade improcessável

---

[API](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
