GET
/
api
/
end_users
/
{end_user_id_or_heron_id}
/
emails
curl --request GET \
  --url https://app.herondata.io/api/end_users/{end_user_id_or_heron_id}/emails \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "created": "2023-11-07T05:31:56Z",
    "date_sent": "2023-11-07T05:31:56Z",
    "date_sent_string": "<string>",
    "from_address": "<string>",
    "from_address_domain": "<string>",
    "from_name": "<string>",
    "heron_id": "<string>",
    "html_body": "<string>",
    "html_or_text_body": "<string>",
    "is_reply": true,
    "processing_status": "new",
    "subject": "<string>",
    "subject_cleaned": "<string>",
    "text_body": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

end_user_id_or_heron_id
string
required

Response

200 - application/json
OK
created
string
date_sent
string
date_sent_string
string
from_address
string
from_address_domain
string
from_name
string
heron_id
string
html_body
string
html_or_text_body
string
is_reply
boolean
processing_status
enum<string>
Available options:
new,
processing,
processed,
failed
subject
string
subject_cleaned
string
text_body
string