API ReferenceWhatsApp
Read Messages
Authorization
ApiKeyAuth x-api-key<token>
API key from /account/api-keys. Free tier: 100 req/hr. Pro tier: 1000 req/hr.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/whatsapp/readMessages" \ -H "Content-Type: application/json" \ -d '{ "clientId": "5e505642-9024-474d-9434-e5a44f505cc5", "keys": [ { "remoteJid": "string", "id": "string", "fromMe": true } ] }'{
"type": "string",
"client": "string",
"message": "string",
"error": "string",
"property1": null,
"property2": null
}