Experia Docs

Dashboard API

Dashboard Summary

Retrieve all dashboard statistics in a single call.

Endpoint

POST /v2/dashboard

Authentication

HeaderRequiredDescription
X-API-KeyYesYour API key
Content-TypeYesapplication/json

Request Body

FieldTypeRequiredDescription
filterstringYesTime period filter (see Filter Values)
channelsarrayNoChannel IDs to filter by. Empty array for all
emailstringNoFilter by agent email. Empty for all agents
groupsIDarrayNoGroup IDs to filter by. Empty array for all
timezoneOffsetstringNoTimezone offset (e.g. +03:00). Default: +03:00
slaobjectNoSLA thresholds in seconds
sla.servicenumberNoService time threshold (seconds)
sla.responsenumberNoResponse time threshold (seconds)
sla.waitingnumberNoWaiting time threshold (seconds)

Example

curl -X POST "https://api.experiaapp.com/v2/dashboard" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "filter": "daily",
    "channels": [],
    "groupsID": [],
    "timezoneOffset": "+03:00",
    "sla": { "service": 60, "response": 30, "waiting": 120 }
  }'

Response

{
  "totalSessions": 458,
  "averageWaitingTime": "00 00:00:20",
  "averageResponseTime": "00 00:17:25",
  "averageServiceTime": "00 15:49:32",
  "minServiceTime": "00 00:00:05",
  "maxServiceTime": "00 16:29:47",
  "CSAT": 62.5,
  "FCR": 0,
  "NPS": 0,
  "agentTotalTimeOnline": "00 00:00:00",
  "totalMsg": 1250,
  "totalTags": 45,
  "totalTransferred": 12,
  "peakTime": "10:00",
  "weakTime": "03:00",
  "totalClosedSessions": 420,
  "totalTemplateUsage": 85,
  "totalPredefinedMessages": 320,
  "totalClient": 380,
  "totalTagsPercent": 10.7,
  "sla": {
    "response": 85.5,
    "waiting": 92.3,
    "service": 78.2
  },
  "status": "SUCCESS"
}

Card Content (Detail)

Retrieve detailed data for a specific dashboard card.

Endpoint

POST /v2/dashboard/{cardName}

Authentication

HeaderRequiredDescription
X-API-KeyYesYour API key
Content-TypeYesapplication/json

Path Parameter

ParameterTypeRequiredDescription
cardNamestringYesThe card identifier (see available cards below)

Body (JSON)

FieldTypeRequiredDescription
filterstringNoTime period filter. Defaults to daily
forstringNoData category: session (default) or hospitality
emailstringNoFilter by specific agent email
channelsarrayNoFilter by channel IDs. Empty array for all
groupsIDarrayNoFilter by group IDs. Empty array for all
timezoneOffsetstringNoTimezone offset (e.g. +03:00). Default: +03:00
slaobjectNoSLA thresholds in seconds
sla.servicenumberNoService time threshold (seconds)
sla.responsenumberNoResponse time threshold (seconds)
sla.waitingnumberNoWaiting time threshold (seconds)
shiftIDsarrayNoFilter by shift IDs

Filter Values

ValueDescription
daily / TODAYCurrent day
weekly / WEEKCurrent week
monthly / MONTHCurrent month
YEARCurrent year
YYYY-MM-DD to YYYY-MM-DDCustom date range (e.g. 2026-01-01 to 2026-01-31)

Available Cards

Session Cards

Card NameDescription
CARDTOTALSESSIONSTotal sessions count
CARDTOTALCLOSEDSESSIONSTotal closed sessions
CARDTOTALTRANSFERREDTotal transferred sessions
CARDNEWCLIENTSNew clients count

Time & Performance Cards

Card NameDescription
CARDWAITINGTIMEWaiting time metrics
CARDSERVICETIMEService time metrics
CARDMINSERVICETIMEMinimum service time
CARDMAXSERVICETIMEMaximum service time
CARDAVGRESPONSETIMEAverage response time
CARDPEAKTIMEPeak activity time
CARDWEAKTIMELowest activity time

Quality & Satisfaction Cards

Card NameDescription
CARDCSATCustomer satisfaction score
CARDFCRFirst contact resolution
CARDNPSNet promoter score

Activity Cards

Card NameDescription
CARDTOTALMESSAGESTotal messages count
CARDTOTALTIMETotal online time
CARDTAGSTags breakdown
CARDTAGSPERCENTAGETags percentage report
CARDQUEUEREPORTQueue summary report
CARDTEMPLATEUSAGETemplate usage stats
CARDPREDEFINEDMESSAGESPredefined messages usage

Example

Request

curl -X POST "https://api.experiaapp.com/v2/dashboard/CARDTOTALCLOSEDSESSIONS" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channels": [],
    "email": "",
    "filter": "daily",
    "timezoneOffset": "+03:00",
    "sla": { "service": 0, "response": 0, "waiting": 0 },
    "for": ""
  }'

Response

{
  "status": "SUCCESS",
  "cardName": "CARDTOTALCLOSEDSESSIONS",
  "cardContent": [
    {
      "session_key": "abc123xyz",
      "client_id": 10001,
      "username": "9665XXXXXXXX",
      "created_date": "2026-01-15T10:30:00.000000Z",
      "taken_date": "2026-01-15T10:31:15.000000Z",
      "ended_date": "2026-01-15T10:45:30.000000Z",
      "status": "CLOSED",
      "type": "whatsapp",
      "agent_email": "agent@example.com"
    }
  ]
}

Rate Limiting

  • 200 requests per hour per API key
  • HTTP 429 returned when limit is exceeded
On this page