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
Provide your bearer token in the Authorization header when making requests to protected resources.
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
id
stringExample:
ve9EPM428h8vShlRW1KT
altId
stringExternal Id
Example:
ve9EPM428h8vShlRW1KT
threadId
stringMessage Id or thread Id
Example:
ve9EPM428h8vShlRW1KT
locationId
stringExample:
ve9EPM428h8vShlRW1KT
contactId
stringExample:
ve9EPM428h8vShlRW1KT
conversationId
stringExample:
ve9EPM428h8vShlRW1KT
dateAdded
stringExample:
2024-03-27T18:13:49.000Z
subject
stringExample:
Order confirm
body
stringExample:
Hi there
direction
stringAllowed values:
inboundoutbound
status
stringAllowed values:
pendingscheduledsentdeliveredreadundeliveredconnectedfailedopened
contentType
stringExample:
text/plain
attachments
array[string]An array of attachment URLs.
provider
stringExamples:
Leadconnector Gmailmailgunsmtpcustom
from
stringName and Email Id of the sender
to
array[string]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
stringIn case of reply, email message Id of the reply to email
source
stringEmail source
Allowed values:
workflowbulk_actionscampaignapiapp
conversationProviderId
stringConversation provider ID
Example:
cI08i1Bls3iTB9bKgF01
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request