GET
/
api
/
public
/
analytics
/
agents
/
response-time
Get average response time by agent
curl --request GET \
  --url https://api.vambe.me/api/public/analytics/agents/response-time \
  --header 'x-api-key: <x-api-key>'
[
  {
    "user_id": "<string>",
    "avg_response_seconds": 123
  }
]

Headers

x-api-key
string
required

API key

Query Parameters

page
string
required

Page number

Example:

"1"

orderBy
enum<string>
Available options:
contact_created_at,
ticket_created_at,
last_inbound_message,
last_outbound_message,
id
channel
enum<string>
required
Available options:
whatsapp,
playground,
instagram,
webchat,
web-whatsapp,
messenger,
sms
pipelineId
string
status
enum<string>
Available options:
unattended,
attended,
ai-attended,
ai-away

Response

200 - application/json

Returns average response time by agent

user_id
string

Agent ID

avg_response_seconds
number

Average response time in seconds