I have to get only the actual message from the thread in an email-type ticket using client SDK.
client.get('ticket.conversation').then((res: any) => resolve(res['ticket.conversation']));
I have to get only the actual message from the thread in an email-type ticket using client SDK.
client.get('ticket.conversation').then((res: any) => resolve(res['ticket.conversation']));
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Here's another code sample that makes a call to the Ticket Comments API and pulls only the plain text body from the most recent message. Let me know if this is closer to what you were hoping to do.