Returns email history entries for the given lead. Lead must belong to the caller’s team.
curl --request GET \
--url https://api.lofty.com/v1.0/communication/email \
--header 'Authorization: <authorization>'{
"emails": [
{
"id": 123,
"leadId": 123,
"direction": "Outbound",
"agentId": 123,
"eventType": "Sent",
"emailEventTime": "<string>",
"emailType": "Auto",
"emailSubject": "<string>",
"fromPond": true
}
]
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer [access_token]
ID of the lead whose email history to return.
x >= 1Zero-based index of the first entry to return.
x >= 0Number of entries per page.
1 <= x <= 1000This parameter is used for page turning. When searching by ID is invoked, the interface would starts from this ID, and retrieve data sequentially. It is recommended to use this parameter as a replacement for offset to turn the page within the limit.
Email history entries for the lead.
Wrapped response for GET /v1.0/communication/email. Email history entries are returned under the 'emails' key.
Email history entries.
Show child attributes
curl --request GET \
--url https://api.lofty.com/v1.0/communication/email \
--header 'Authorization: <authorization>'{
"emails": [
{
"id": 123,
"leadId": 123,
"direction": "Outbound",
"agentId": 123,
"eventType": "Sent",
"emailEventTime": "<string>",
"emailType": "Auto",
"emailSubject": "<string>",
"fromPond": true
}
]
}