Skip to main content
POST
/
conversation
/
sync-messages
Sincronizar mensagens (WhatsApp)
curl --request POST \
  --url http://localhost:3001/conversation/sync-messages \
  --header 'Content-Type: application/json' \
  --header 'X-JuriChat-Api-Key: <api-key>' \
  --data '
{
  "conversationId": "<string>"
}
'
{
  "success": true
}

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.

Body

application/json
conversationId
string
required

ID da conversa cujo histórico do WhatsApp será sincronizado.

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

Response

Default Response

success
boolean
required

Indica se a sincronização foi iniciada com sucesso.