v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
chat

sync chat history

Synchronizes the chat history for a specific chat

post/instances/{id}/client/action/sync-chat-history

Path parameters

idinteger required

Instance ID

Request body

chatIdstring required

Chat ID <countrycode_short><usernumber>@c.us or @g.us for groups

Example request

{
  "chatId": "50664083362@c.us"
}

Response

Successfully synced chat history

status'success' | 'error'

Example response

{
  "data": {
    "historySynced": true
  },
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/sync-chat-history"
  },
  "status": "success"
}