APIs & Integrations

hbuser33
Participante

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 Avaliação positiva
1 Resposta 1
BérangèreL
Gerente da Comunidade
Gerente da Comunidade

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


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres! !
0 Avaliação positiva