Legacy Dev Forum Posts

 View Only

Sign Up

Identifying Open Messaging Conversation Lifespan through APIs: Distinguishing between Active and Ended Conversations

  • 1.  Identifying Open Messaging Conversation Lifespan through APIs: Distinguishing between Active and Ended Conversations

    Posted 06-05-2025 18:37

    mgalindo | 2023-06-19 02:22:27 UTC | #1

    Hello! I have a question. I understand that with the option Admin > Message > Threading Timeline, I can determine the lifespan of conversations. I also understand that from the workspace, I can see the start date and end date to determine if a conversation has ended. However, how can I know this through the APIs? I have already used this API /api/v2/conversations/{conversationId}, but I don't see any difference between a conversation that is still "alive" and one that has already "ended". Does anyone know how to distinguish them?

    Thank you in advance for your help.


    Dhruvi_Bhavsar | 2023-07-12 18:02:27 UTC | #2

    Hi @mgalindo, You may use the following API to get a conversation by ID: GET /api/v2/analytics/conversations/{conversationId}/details

    This will include conversationEnd date if the conversation is already ended or else it will only have conversationStart date within the response.

    I hope this helps.


    system | 2023-08-11 18:03:19 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 20518