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

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.

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.

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