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.
User/Team Report
- REST Method: GET
- URLs: https://api.helpscout.net/v1/reports/user.json
Please note that if a team ID is used instead of an user ID, the report calculates summary data for all team members
The report provides a snapshot of a user or team activity over a specified time range. You may optionally specify two time ranges to see how activity 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 | Notes | Example |
---|---|---|---|---|
start | Date/Time | Yes | ISO 8601, in UTC | 2015-01-01T00:00:00Z |
end | Date/Time | Yes | ISO 8601, in UTC | 2015-01-31T23:59:59Z |
previousStart | Date/Time | No | ISO 8601, in UTC | 2014-01-01T00:00:00Z |
previousEnd | Date/Time | No | ISO 8601, in UTC | 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 | No | Valid values are:
|
email,chat |
folders | list of folder identifiers | No | 1,2,3 | |
officeHours | Boolean (0/1) | No | Whether to take office hours into consideration in the report (defaults to 0 ); office hours must be enabled if 1 is passed, otherwise the default of 0 will be used |
1 |
user | user or team identifier for this report | Yes | 1 |
Response
Response | Name | Type | Notes |
---|---|---|---|
Header | Status | Int | 200 |
filterTags | Collection | All tags available for filtering in reports | |
user | Object | Basic information about the user | |
current | Time Range Statistics (User) | Statistics about the user for the current time range | |
previous | Time Range Statistics (User) | Statistics about the user for the previous time range; only included if a previous time range was specified | |
deltas | Multiple Time Range Statistics (User) | Statistics showing how the user's metrics changed between two time ranges; only included if a previous time range was specified |