Conversation statistics are null | Community
Skip to main content

Hello support!
When fetching a conversation using GET conversations/{id} or POST /conversations/search, the statistics fields are all null. I’m using version 2.10 but tried with 2.14 as well and it doesn’t work either.

 

This is the object I receive 

 

"statistics": {
      "type": "conversation_statistics",
      "time_to_assignment": null,
      "time_to_admin_reply": null,
      "time_to_first_close": null,
      "time_to_last_close": null,
      "median_time_to_reply": null,
      "first_contact_reply_at": null,
      "first_assignment_at": null,
      "first_admin_reply_at": null,
      "first_close_at": null,
      "last_assignment_at": null,
      "last_assignment_admin_reply_at": null,
      "last_contact_reply_at": null,
      "last_admin_reply_at": null,
      "last_close_at": null,
      "last_closed_by_id": null,
      "count_reopens": 0,
      "count_assignments": 0,
      "count_conversation_parts": 7
    }

 

 

My close is to know when was last time a conversation was closed and intended to use statistics.last_close_at

Be the first to reply!

@haloqwant statistics will only be populated once the customer replies. Before that, if there’s no customer reply and the conversation is closed, no stats will be populated.