Skip to content

event_log

df-dbx edited this page Sep 30, 2019 · 1 revision

event_log

https://zingtree.com/api/event_log/{{apikey}}[/{{start date}}/{{end date}}]

Returns a JSON structure with the event log for your organisation in a date range. Start date and end date are in the form of YYYY-MM-DD. If blank, returns events for last 30 days. Dates are in PST.

Example

https://zingtree.com/api/event_log/…token…/2019-01-01/2019-01-31

{
    "op": "event_log",
    "count": 1,
    "results": [
        {
            "severity": "0",
            "type": "Agent Login",
            "tree_id": "0",
            "user_name": "Zingtree",
            "session_id": "",
            "data": "bwinters@zingtree.com",
            "details": "",
            "timestamp": "2019-01-01 09:17:39",
            "ip": "223.87.255.158"
        }
    ]
}

Clone this wiki locally