Exceeding limitation on tariff
POST
/Documentation Incoming block
To receive this type of notification, you must enable the settings in your personal account or using the SetSettings method:
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": "incomingBlock",
"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