POST

https://{server-url}

/
chat
/
findMessages
/
{instance}
curl --request POST \
  --url https://{server-url}/chat/findMessages/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "where": {
    "key": {
      "remoteJid": "<string>"
    }
  }
}'

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
where
object