Get email by Id

GEThttps://services.leadconnectorhq.com/conversations/messages/email/{id}
Get email by Id
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28

Responses

Successful response

id
string
required
Example:
ve9EPM428h8vShlRW1KT
altId
string

External Id

Example:
ve9EPM428h8vShlRW1KT
threadId
string
required

Message Id or thread Id

Example:
ve9EPM428h8vShlRW1KT
locationId
string
required
Example:
ve9EPM428h8vShlRW1KT
contactId
string
required
Example:
ve9EPM428h8vShlRW1KT
conversationId
string
required
Example:
ve9EPM428h8vShlRW1KT
dateAdded
string
required
Example:
2024-03-27T18:13:49.000Z
subject
string
Example:
Order confirm
body
string
required
Example:
Hi there
direction
string
required
Allowed values:
inboundoutbound
status
string
Allowed values:
pendingscheduledsentdeliveredreadundeliveredconnectedfailedopened
contentType
string
required
Example:
text/plain
attachments
array[string]

An array of attachment URLs.

provider
string
Examples:
Leadconnector Gmailmailgunsmtpcustom
from
string
required

Name and Email Id of the sender

to
array[string]
required

List of email Ids of the receivers

cc
array[string]

List of email Ids of the people in the cc field

bcc
array[string]

List of email Ids of the people in the bcc field

replyToMessageId
string

In case of reply, email message Id of the reply to email

source
string

Email source

Allowed values:
workflowbulk_actionscampaignapiapp
conversationProviderId
string

Conversation provider ID

Example:
cI08i1Bls3iTB9bKgF01

Unprocessable Entity

statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request