Hi Guy,
Unfortunately this isn’t supported via the API right now, but please feel free to raise a feature request via our ideas portal.
Hey Jason, thanks for the answer.
I was thinking maybe mimicking this behavior by fetching the last message of the conversation and adding it at the bottom of the `body` in the API call.
Do you know what would make email clients identify that it is the email thread ?
Sorry for the long wait here.
We very recently introduced a `quote_body` param in the Reply to conversation endpoint - this should solve your problem.
Sending that as the HTML from the previous message should have the effect you’re looking for.
curl --request POST \
--url https://api2.frontapp.com/conversations/cnv_123/messages \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"to":
"recipient@example.com"
],
"options": {
"archive": true
},
"quote_body": "<p>Message that needs a reply</p>",
"body": "<p>My message</p>",
"text": "My message"
}
'