Превышение ограничения на тарифе
POST
/Документация Превышены ограничения на тарифе
Для получения данного типа уведомления необходимо включить настройки в личном кабинете или методом SetSettings:"
incomingBlockWebhook": "yes"
"incomingWebhook": "yes"
Request
Body Params application/json
typeWebhook
string
required
instanceData
object
required
idInstance
integer
required
wid
string
required
typeInstance
string
required
quotaData
object
required
method
string
required
used
integer
required
total
integer
required
status
string
required
description
string
required
Example
{
"typeWebhook": "quotaExceeded",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"quotaData": {
"method": "correspondents",
"used": 3,
"total": 3,
"status": "CORRESPONDENTS_QUOTA_EXCEEDED",
"description": "Monthly quota has been exceeded. You can only send or receive messages from following chats: 10001234560@c.us, 10001234561@c.us, 10001234562@c.us. Please go to your personal account and change the tariff to business https://console.green-api.com"
}
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 19 days ago