Get the daily quota of OA

HTTP request

POST https://rest.esms.vn/MainService.svc/json/ZNS/GetQuota/

  • Content Type: application/json

  • Response Type: application/json

curl --location 'https://rest.esms.vn/MainService.svc/json/ZNS/GetQuota/' \
--header 'Content-Type: application/json' \
--data '{
    "ApiKey": "{{ApiKey}}",
    "SecretKey": "{{SecretKey}}",
    "OAID": "{{OAID}}"
}'
  • Request body:

Paramter
Type
Required
Description

ApiKey

string

Your API key.

SecretKey

string

Your Secret Key.

OAID

string

Zalo OA Id is the Zalo Official Account Id of the organization. It can be obtained by accessing to the Zalo administrator page.

Note: Pre-registration is required.


  • Response:

{
    "CodeResult": "100",
    "ErrorMessage": "success",
    "DailyQuota": 500,
    "RemainingQuota": 500
}

Valid request.

  • Response body:

Paramter
Type
Description

DailyQuota

string

Total quota allowed to send in day.

RemainingQuota

string

The remaining quota.

Last updated