Link Search Menu Expand Document

Updated Thu Sep 23rd 2021, 14:49 UTC

Statistics

GET /conversations/:conversation/stats

Note: This endpoint is still under active development, and may change without warning.

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

© 2021 TextUs