Skip to main content

💰 Quota Management​

Wagy uses a dual quota system to provide maximum flexibility for users:

  1. PRO Quota: Paid quota that has an expiration date (expired date). This quota will be used as the top priority for message delivery.
  2. Free Quota: A free message allowance provided every month. If the PRO Quota is exhausted, the system will automatically use this Free Quota (if still available).

Response Components​

FieldDescription
monthly_limitTotal Free Quota allowance per month.
usedNumber of messages already used.
remainingRemaining quota available for sending messages.

Response Example​

{
"status": "success",
"data": {
"device_id": "dev-12345",
"free": {
"monthly_limit": 500,
"used": 100,
"remaining": 400
},
"pro": {
"total": 1000,
"used": 0,
"remaining": 1000,
"expires_at": null
}
}
}

Check device quota

GET 

/:device_id/quota

Get a summary of available Free and PRO quota for the device.

Request​

Responses​

OK