curl --request GET \
--url https://services.leadconnectorhq.com/conversations/messages/email/{id} \
--header 'Authorization: Bearer <token>'{
"id": "ve9EPM428h8vShlRW1KT",
"threadId": "ve9EPM428h8vShlRW1KT",
"locationId": "ve9EPM428h8vShlRW1KT",
"contactId": "ve9EPM428h8vShlRW1KT",
"conversationId": "ve9EPM428h8vShlRW1KT",
"dateAdded": "2024-03-27T18:13:49.000Z",
"body": "Hi there",
"direction": "inbound",
"contentType": "text/plain",
"from": "<string>",
"to": [
"<string>"
],
"altId": "ve9EPM428h8vShlRW1KT",
"subject": "Order confirm",
"status": "pending",
"attachments": [
"<string>"
],
"provider": "Leadconnector Gmail",
"cc": [
"<string>"
],
"bcc": [
"<string>"
],
"replyToMessageId": "<string>",
"source": "workflow",
"conversationProviderId": "cI08i1Bls3iTB9bKgF01"
}Get email by Id
curl --request GET \
--url https://services.leadconnectorhq.com/conversations/messages/email/{id} \
--header 'Authorization: Bearer <token>'{
"id": "ve9EPM428h8vShlRW1KT",
"threadId": "ve9EPM428h8vShlRW1KT",
"locationId": "ve9EPM428h8vShlRW1KT",
"contactId": "ve9EPM428h8vShlRW1KT",
"conversationId": "ve9EPM428h8vShlRW1KT",
"dateAdded": "2024-03-27T18:13:49.000Z",
"body": "Hi there",
"direction": "inbound",
"contentType": "text/plain",
"from": "<string>",
"to": [
"<string>"
],
"altId": "ve9EPM428h8vShlRW1KT",
"subject": "Order confirm",
"status": "pending",
"attachments": [
"<string>"
],
"provider": "Leadconnector Gmail",
"cc": [
"<string>"
],
"bcc": [
"<string>"
],
"replyToMessageId": "<string>",
"source": "workflow",
"conversationProviderId": "cI08i1Bls3iTB9bKgF01"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Email object for the id given.
"ve9EPM428h8vShlRW1KT"
Message Id or thread Id
"ve9EPM428h8vShlRW1KT"
"ve9EPM428h8vShlRW1KT"
"ve9EPM428h8vShlRW1KT"
"ve9EPM428h8vShlRW1KT"
"2024-03-27T18:13:49.000Z"
"Hi there"
inbound, outbound "text/plain"
Name and Email Id of the sender
List of email Ids of the receivers
External Id
"ve9EPM428h8vShlRW1KT"
"Order confirm"
pending, scheduled, sent, delivered, read, undelivered, connected, failed, opened An array of attachment URLs.
"Leadconnector Gmail"
List of email Ids of the people in the cc field
List of email Ids of the people in the bcc field
In case of reply, email message Id of the reply to email
Email source
workflow, bulk_actions, campaign, api, app Conversation provider ID
"cI08i1Bls3iTB9bKgF01"
Was this page helpful?