Skip to main content

Agents Statistics

Returns a list of agents and their associated incident statistics, including counts, resolution metrics, and SLA performance.

Endpoint

GET /hubspot/stats/agents/:startDate/:endDate

URL Parameters

Request Headers

No request body is required.

Response

Success Response (HTTP 200)


Field Descriptions

agents[]


Error Response (HTTP 400–500)

Any non-200 status code indicates an error.

Authentication

Provide a valid JWT token using the Authorization header.

Example Request (cURL)


Example Request (JavaScript - fetch)


Notes

  • Dates must use the format YYYY-MM-DD.
  • Returned metrics can be used to compare agent performance across the date range.