Parameter to know if Mail has Conversation thread

Dipika Das 141 Reputation points
2023-05-10T06:24:37.1+00:00

Hi,

I'm using message API to get emails. I noticed that in the return result there is no parameter to understand if the email has conversation thread. Please help me out if there is any api to understand or what would be your suggestion to achieve this.

Thanks in Advance

Microsoft Security | Microsoft Graph
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ab-8756 805 Reputation points
    2023-05-10T14:36:30.9833333+00:00

    Hello Dipika Das,
    Thank you for your post in this Q&A forum.

    The only way to determine if the email has any conversation thread is by using filter, you can do GET, messages?$filter= conversationId eq 'conversationId of the email is in question', this will give you list of conversation messages if there are any, if not it will show only one message.

    Here is one example email with some conversations;-
    User's image

    Let me know if that helps.
    Thanks

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.