curl --request POST \
--url https://api.l2msg.com/whatsapp/chat/findMessages/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"where": {
"key": {
"remoteJid": "<string>"
}
}
}'
Find all messages
curl --request POST \
--url https://api.l2msg.com/whatsapp/chat/findMessages/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"where": {
"key": {
"remoteJid": "<string>"
}
}
}'
Your authorization key header
Name instance