Ошибка SWE004
POST
/Документация Уведомление при получении ошибки SWE004
Для получения данного типа уведомления необходимо включить настройки в личном кабинете или методом SetSettings:
"outgoingWebhook": "yes"
Request
Body Params application/json
typeWebhook
string
required
chatId
string
required
instanceData
object
required
idInstance
integer
required
wid
string
required
typeInstance
string
required
timestamp
integer
required
idMessage
string
required
status
string
required
description
string
required
sendByApi
boolean
required
Example
{
"typeWebhook": "outgoingMessageStatus",
"chatId": "120363039326117111@g.us",
"instanceData": {
"idInstance": 1101000001,
"wid": "71231234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1707200807,
"idMessage": "B3Q599E4A3724D50",
"status": "failed",
"description": "SWE004: the number of participants in the group has been exceeded - 300",
"sendByApi": true
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 19 days ago