Get email by Id
GET/conversations/messages/email/:id
Get email by Id
Request
Email object for the id given.
- application/json
- Schema
- Example (auto)
Schema
idstringrequired
altIdstring
External Id
threadIdstringrequired
Message Id or thread Id
locationIdstringrequired
contactIdstringrequired
conversationIdstringrequired
dateAddedstringrequired
subjectstring
bodystringrequired
directionstringrequired
Available options
inboundoutboundstatusstring
Available options
pendingscheduledsentdeliveredreadundeliveredconnectedfailedopenedcontentTypestringrequired
attachmentsstring[]
An array of attachment URLs.
providerstring
fromstringrequired
Name and Email Id of the sender
tostring[]required
List of email Ids of the receivers
ccstring[]
List of email Ids of the people in the cc field
bccstring[]
List of email Ids of the people in the bcc field
replyToMessageIdstring
In case of reply, email message Id of the reply to email
sourcestring
Email source
Available options
workflowbulk_actionscampaignapiappconversationProviderIdstring
Conversation provider ID
errorstring
Error message for bounced/failed emails
{
"id": "ve9EPM428h8vShlRW1KT",
"altId": "ve9EPM428h8vShlRW1KT",
"threadId": "ve9EPM428h8vShlRW1KT",
"locationId": "ve9EPM428h8vShlRW1KT",
"contactId": "ve9EPM428h8vShlRW1KT",
"conversationId": "ve9EPM428h8vShlRW1KT",
"dateAdded": "2024-03-27T18:13:49.000Z",
"subject": "Order confirm",
"body": "Hi there",
"direction": "inbound",
"status": "pending",
"contentType": "text/plain",
"attachments": [
"string"
],
"provider": "Leadconnector Gmail",
"from": "string",
"to": [
"string"
],
"cc": [
"string"
],
"bcc": [
"string"
],
"replyToMessageId": "string",
"source": "workflow",
"conversationProviderId": "cI08i1Bls3iTB9bKgF01",
"error": "string"
}