API ReferenceChat
POST /chat/messages/{id}/forward
Encaminhar mensagem para outras conversas
POST
/chat/messages/{id}/forwardAuth: accessTokenReplica content/attachments em N conversations. Limite 20 destinos.
Request
| Campo | Tipo | Requerido | Descrição |
|---|---|---|---|
| conversationIds | Array of string (uuid) | sim |
Response
200
Sem corpo na resposta.
Erros
Sem respostas de erro documentadas.
Exemplos
curl -X POST 'http://localhost:3003/chat/messages/{id}/forward' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
-d '{}'await fetch('http://localhost:3003/chat/messages/{id}/forward', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer ' + accessToken,
},
body: JSON.stringify({}),
})