curl --request GET \
--url https://app.herondata.io/api/end_user_emails \
--header 'x-api-key: <api-key>'
{
"_meta": {
"count": 123,
"has_more": true,
"page": 123,
"total_pages": 123
},
"emails": [
{
"email": {
"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>"
},
"end_user_heron_id": "<string>"
}
]
}
Get all emails for all end users associate with this user
curl --request GET \
--url https://app.herondata.io/api/end_user_emails \
--header 'x-api-key: <api-key>'
{
"_meta": {
"count": 123,
"has_more": true,
"page": 123,
"total_pages": 123
},
"emails": [
{
"email": {
"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>"
},
"end_user_heron_id": "<string>"
}
]
}
x >= 1
x >= 0
OK
The response is of type object
.
Was this page helpful?