Resolution Times
Returns statistical resolution time metrics for incidents occurring within the specified date range.Endpoint
GET /hubspot/stats/resolution-times/:startDate/:endDate
URL Parameters
Request Headers
Note: No request body is required.
Response
Success Response (HTTP 200)
resolutionTimes: Statistical metrics for how long incidents took to resolvemin: Smallest resolution timemax: Largest resolution timeaverage: Arithmetic meanmedian: Middle value in the sorted dataset
Error Response (HTTP 400–500)
Any non-200 response indicates an error.
Authentication
A valid JWT token must be provided in theAuthorization header.
Example Request (cURL)
Example Request (JavaScript - fetch)
Notes
- Dates must follow the
YYYY-MM-DDformat. - Metrics are based on calculated resolution times for all incidents in the range.