The response structure for pagination is different for getAlertContacts & getMonitors. Would be great if this was consistant!
getAlertContacts:
{
"stat": "ok",
"offset": 0,
"limit": 50,
"total": 10,
"alert_contacts": [...]
}
getMonitors:
{
"stat": "ok",
"pagination": {
"offset": 0,
"limit": 50,
"total": 10
},
"monitors": [...]
}