curl --location --globoff --request GET '<Ваш apiUrl из личного кабинета Green API>/waInstance<Ваш idInstance из личного кабинета Green API>/getStateInstanceHistory/<Ваш apiTokenInstance из личного кабинета Green API>' \
--header 'Content-Type: application/json' \
--data '{
"count": 200
}'[
{
"stateInstance": "authorized",
"timestamp": 1778132812,
"phoneNumber": "79876543210@c.us"
},
{
"stateInstance": "notAuthorized",
"timestamp": 1778132743,
"phoneNumber": "79876543210@c.us"
},
{
"stateInstance": "authorized",
"timestamp": 1778132546,
"phoneNumber": "79876543210@c.us"
},
{
"stateInstance": "notAuthorized",
"timestamp": 1778131747,
"phoneNumber": "79876543210@c.us"
}
]