curl --location -g --request PUT 'https://api.pushsms.ru/developer/v1/webhooks/4?types[]=whatsapp_log_out&url=https://example.ru' \
--header 'Authorization: {api_key}'
{
"meta": {
"code": 200,
"status": "success"
},
"webhook": {
"id": 4,
"types": [
"whatsapp_log_out"
],
"url": "https://example.ru"
}
}