Statistics

GET /conversations/:conversation/stats

Conversation Analyics shows the aggregate statistics for Conversations across your Account, but this endpoint allows you to view the stats for a single Conversation.

Examples

Get stats

Request

GET /conversations/Pvwqm5G/stats
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /conversations/Pvwqm5G/stats
    

Response

Status

200

Response Type

ConversationStats

Example Body

{
  "@type": "ConversationStats",
  "id": "/conversations/Pvwqm/stats",
  "@context": "/contexts/ConversationStats.jsonld",
  "conversationStartedAt": "2019-04-02T20:28:58Z",
  "engagement": "C",
  "outboundDelivered": 1.0
}

© 2024 TextUs