🖥️ Sessions
Fetch the account new-chat message capping (per-cycle quota)
Fetch a fresh new-chat message capping (quota) state from WhatsApp. The same value is also available under me.messageCapping in the session info, and changes are pushed through the session.status event.
get/api/sessions/{session}/capping
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/sessions/{session}/capping
- Auth: API key in header X-Api-Key
Path parameters
sessionstring required
Session name
Response
Example response
{
"cappingStatus": "FIRST_WARNING",
"totalQuota": 1000,
"usedQuota": 640,
"cycleStart": 1782874800,
"cycleEnd": 1785553199,
"mvStatus": "NOT_ELIGIBLE",
"oteStatus": "NOT_ELIGIBLE"
}Changes
No recorded changes to this operation across all 1 revision of this API.