v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
chat

get chat by id

Get chat by ID

post/instances/{id}/client/action/get-chat-by-id

Path parameters

idinteger required

Instance ID

Request body

chatIdstring required

Example request

{
  "chatId": "<xxxxx>@c.us"
}

Response

status'success' | 'error'

Example response

{
  "data": {
    "id": {
      "server": "c.us",
      "user": "123456789",
      "_serialized": "123456789@c.us"
    },
    "name": "John Doe"
  },
  "links": {
    "self": "https://waapi.app/api/v1/instances/1/client/action/get-chat-by-id"
  },
  "status": "success"
}