Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Per-agent performance

Assigned/closed/open counts and avg response/resolution time per agent.

GET/v1/inbox/analytics/agents
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Query parameters
windowstring
Window: 7, 30, or 90
default: "7"
Responses
200OK
itemsAgentPerfRow[] | nullrequired
Show properties
Array of AgentPerfRow
agent_idstringrequired
assignedinteger<int64>required
avg_first_response_secondsnumber<double>required
avg_resolution_secondsnumber<double>required
closedinteger<int64>required
openinteger<int64>required
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X GET "/v1/inbox/analytics/agents"
Response
{
  "items": [
    {
      "agent_id": "string",
      "assigned": 0,
      "avg_first_response_seconds": 0,
      "avg_resolution_seconds": 0,
      "closed": 0,
      "open": 0
    }
  ]
}