Legacy Mailbox API 1.0 is deprecated
Legacy Mailbox API 1.0 was deprecated on November 20, 2019. Please use Mailbox API 2.0 going forward. If you have any questions or need help with the new API, please reach out.
Company Report
- REST Method: GET
- URLs: https://api.helpscout.net/v1/reports/company.json
The company report provides statistics about your company performance over a given time range. You may optionally specify two time ranges to see how performance changed between the two ranges.
URL Parameters
A variety of filters are available as query parameters. Including any of these will result in only conversations that match the filters being included in the report.
Parameter | Type | Required | Example |
---|---|---|---|
start | Date/Time (ISO 8601, in UTC) | Yes | 2015-01-01T00:00:00Z |
end | Date/Time (ISO 8601, in UTC) | Yes | 2015-01-31T23:59:59Z |
previousStart | Date/Time (ISO 8601, in UTC) | No | 2014-01-01T00:00:00Z |
previousEnd | Date/Time (ISO 8601, in UTC) | No | 2014-01-31T23:59:59Z |
mailboxes | list of mailbox identifiers | No | 1,2,3 |
tags | list of tag identifiers | No | 1,2,3 |
types | list of conversation types (email, chat, or phone) | No | email,chat |
folders | list of folder identifiers | No | 1,2,3 |
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Int | 200 |
Body | filterTags | Collection | All tags available for filtering in reports, including tag id=1, which represents conversations that are untagged |
current | Time Range Statistics (Company) | Statistics about company performance for the current time range | |
previous | Time Range Statistics (Company) | Statistics about company performance for the previous time range; only included if a previous time range was specified | |
deltas | Multiple Time Range Statistics (Company) | Statistics showing how company performance changed between two time ranges; only included if a previous time range was specified | |
users | Collection of User Statistics (Company) | Statistics about each user's performance |