Skip to main content
GET
/
v2.0
/
communication
/
email
/
{communicationId}
Get an email by ID
curl --request GET \
  --url https://api.lofty.com/v2.0/communication/email/{communicationId} \
  --header 'Authorization: <authorization>'
{
  "id": 123,
  "leadId": 123,
  "direction": "Outbound",
  "agentId": 123,
  "eventType": "Sent",
  "emailEventTime": "<string>",
  "emailType": "Auto",
  "emailSubject": "<string>",
  "fromPond": true
}

Headers

Authorization
string
required

Bearer [access_token]

Path Parameters

communicationId
integer<int64>
required

Communication ID of the email.

Required range: x >= 1

Response

Email retrieved successfully.

id
integer<int64>

The ID of the email

leadId
integer<int64>

The lead(Id) associated with the email

direction
string

Outbound or Inbound email

Example:

"Outbound"

agentId
integer<int64>

The related Agent ID

eventType
string

Sent, Opened or Bounced event

Example:

"Sent"

emailEventTime
string

The event time of the email

emailType
string

Manual or Auto email

Example:

"Auto"

emailSubject
string

The subject of the email

fromPond
boolean

Is the email sent from the lead pond