APIs & Integrations

hbuser33
Participant

Get last message of email thread

I want to retrive the last message of email thread , it may be the one I recieved or sent. 
Currently using this to get all messages : https://api.hubapi.com/conversations/v3/conversations/threads/7169114028/messages 
With clientType as hubspot .



0 Upvotes
1 Reply 1
BérangèreL
Community Manager
Community Manager

Get last message of email thread

Hi @hbuser33, I hope that you are well!

I believe the "Conversations inbox and messages APIs (BETA)" documentation you mentioned is the right one.

Have you tried to add the "sort" (set the sort order of the response), "latestMessageTimestampAfter" and "latestMessageTimestamp" parameters? This might get you the data you are after.

I'd like to invite a couple of subject matter experts and some Community Members to this conversation: Hi @VSharma96, @JupiterSinton, @rowanreid, @TraceTheStar, @zach_threadint, @MBERARD and @Teun do you have suggestions to help @hbuser33, please?

Also, if anybody else has anything to add and/or share, please feel free to join in the conversation 🙂


Thanks so much and have a fantastic day!

Best,
Bérangère


Saviez-vous que la Communauté est disponible en Français ?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings!


0 Upvotes