curl --request GET \
--url https://api.example.com/v1/cases/{case_id}/emails/{email_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "01K8EM06FJ5T22HRYE78AN7FFF",
"institution_contact_id": "<string>",
"to_addresses": [
"estates@chase.com"
],
"cc_addresses": [],
"from_address": "cases@mail.example.com",
"subject": "Estate of John J. Johnson - Death Certificate and Account Closure Request",
"body_text": "<string>",
"body_html": "<string>",
"attachments": [
{
"id": "<string>",
"file_name": "death_certificate.pdf",
"file_size_bytes": 245000,
"mime_type": "application/pdf",
"document_id": "<string>"
}
],
"status": "delivered",
"sent_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"opened_at": "2023-11-07T05:31:56Z",
"bounce_reason": "<string>",
"sent_by": "<string>",
"receipt": {
"message_id": "msg_01abc123def456",
"provider": "sendgrid",
"status": "accepted",
"status_detail": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Retrieve email details including delivery receipt, open tracking, and attachment info.
curl --request GET \
--url https://api.example.com/v1/cases/{case_id}/emails/{email_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "01K8EM06FJ5T22HRYE78AN7FFF",
"institution_contact_id": "<string>",
"to_addresses": [
"estates@chase.com"
],
"cc_addresses": [],
"from_address": "cases@mail.example.com",
"subject": "Estate of John J. Johnson - Death Certificate and Account Closure Request",
"body_text": "<string>",
"body_html": "<string>",
"attachments": [
{
"id": "<string>",
"file_name": "death_certificate.pdf",
"file_size_bytes": 245000,
"mime_type": "application/pdf",
"document_id": "<string>"
}
],
"status": "delivered",
"sent_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"opened_at": "2023-11-07T05:31:56Z",
"bounce_reason": "<string>",
"sent_by": "<string>",
"receipt": {
"message_id": "msg_01abc123def456",
"provider": "sendgrid",
"status": "accepted",
"status_detail": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}