---
title: "Find Messages"
method: POST
path: "/chat/findMessages/{instance}"
tags: ["Chat Controller"]
---

# Find Messages

`POST /chat/findMessages/{instance}`

Find all messages

## Path parameters

- `instance` string, required

## Request body

- object
  - `where` object
    - `key` object
      - `remoteJid` string — Contact or group remote JID

## Response `200`

Ok

## Changes

- **2024-10-14** (v2) `c153448703e5` — 1 breaking, 5 info
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `findMessages` was added
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - api tag `Chat Controller` added
  - …2 more
- **2024-09-09** (v2) `0c4620ca5ed5` — 1 warning, 5 info
  - removed the request property `where`
  - api operation id `findMessages` removed and replaced with ``
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - api tag `Chat` added
  - …2 more

[Change history](https://skmtc.dev/evolution-foundation/apis/openapi/changes/chat/findMessages/:instance/post.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/openapi.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/openapi/revisions/153363ee7f38/schema)
