Skip to main content
PATCH
/
conversation
/
{conversationId}
Atualizar conversa
curl --request PATCH \
  --url http://localhost:3001/conversation/{conversationId} \
  --header 'Content-Type: application/json' \
  --header 'X-JuriChat-Api-Key: <api-key>' \
  --data '
{
  "isFixed": true,
  "priority": "LOW",
  "tags": [
    "<string>"
  ],
  "roleId": "<string>",
  "agentId": "<string>"
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.jurichat.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-JuriChat-Api-Key
string
header
required

Chave de API do escritório (criada no painel). Envie o valor no header X-JuriChat-Api-Key.

Path Parameters

conversationId
string
required

ID da conversa.

Pattern: ^[cC][^\s-]{8,}$

Body

application/json
isFixed
boolean

Quando verdadeiro, fixa a conversa na inbox. Quando falso, desafixa.

priority
enum<string>

Nova prioridade da conversa.

Available options:
LOW,
MEDIUM,
HIGH
tags
string[]

IDs das tags. Substitui todas as tags atuais da conversa quando enviado.

roleId
string

ID do papel responsável pela fila da conversa.

agentId
string | null

ID do agente de IA vinculado à conversa. Enviar null para remover o vínculo.

Pattern: ^[cC][^\s-]{8,}$

Response

Confirmação da operação.

Confirmação da operação.