MobiariDocs
Admin APIConversations

Get the attendance report

GET
/stores/{store_id}/conversations/reports

Volume, response and resolution times, satisfaction, per-agent numbers, attributed revenue and labels over the last days.

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

store_id*string

Store id

Formatuuid

Query Parameters

days?integer

Window in days, 1 to 365. Defaults to 30.

Formatint64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/conversations/reports"
{
  "agents": [
    {
      "csat_avg": 0,
      "name": "string",
      "open": 0,
      "resolution_avg_s": 0,
      "resolved": 0,
      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
    }
  ],
  "attributed": {
    "orders": 0,
    "revenue_cents": 0,
    "window_days": 0
  },
  "by_hour": [
    {
      "count": 0,
      "hour": 0
    }
  ],
  "days": 0,
  "tags": [
    {
      "count": 0,
      "tag": "string"
    }
  ],
  "times": {
    "first_response_avg_s": 0,
    "first_response_median_s": 0,
    "resolution_avg_s": 0,
    "resolution_median_s": 0
  },
  "totals": {
    "bot_resolved": 0,
    "conversations": 0,
    "csat_avg": 0,
    "csat_count": 0,
    "customers": 0,
    "open": 0,
    "previous_conversations": 0,
    "resolved": 0
  },
  "volume": [
    {
      "channel": "web",
      "count": 0,
      "day": "2019-08-24"
    }
  ]
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}