API – Get Usage Statistics

action – usage

This call is used to get usage statistics on an account, usually for a specified date range. Optionally pass the start and end date (in yyyy-mm-dd format), or leave out to get statistics for the entire life of the account.

Sample Request

{ "account": *** your account id ***, "apikey": "*** your api key ***", "action": "usage", "start" : "2019-01-01", "end" : "2019-01-31" }

Sample Response

{ "success": true, "users": { "end": 4, "new": 1, "terminated": 0 }, "files": { "end": 57, "new": 14 }, "bytes": { "end": 57493473, "new": 389533 }, "people": { "end": 485, "new": 47 }, "organisations": { "end": 93, "new": 6 }, "recordtypes": { "end": 15, "new": 0 } }

Get Started