Messages

Get email message details

Returns email delivery details for a message, optionally including signed URLs for its raw MIME, HTML, and text content.

get/v1/messages/{id}/email

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/messages/{id}/email
  • Auth: API key in header x-api-key

Path parameters

idstring required

Query parameters

includeDownloadUrlsstring nullable
urlExpiresInstring nullable

Response

Success

idstring required
organizationIdstring required
conversationIdstring required
status'pending' | 'scheduled' | 'queued' | 'processing' | 'sent' | 'delivered' | 'read' | 'failed' | 'bounced' | 'complained' required
channel'email' required
direction'outbound' | 'inbound' required
subjectstring nullable required
fromEmailstring required
fromNamestring nullable required
replyToEmailsstring[] nullable required
messageIdHeaderstring required
inReplyTostring nullable required
referencesstring[] nullable required
threadPositioninteger nullable required
newContentstring nullable required
quotedContentstring nullable required
hasQuotedContentboolean required
dkimVerdict'pass' | 'fail' | 'softfail' | 'neutral' | 'none' | 'policy' | 'temperror' | 'permerror' nullable required
spfVerdict'pass' | 'fail' | 'softfail' | 'neutral' | 'none' | 'policy' | 'temperror' | 'permerror' nullable required
dmarcVerdict'pass' | 'fail' | 'softfail' | 'neutral' | 'none' | 'policy' | 'temperror' | 'permerror' nullable required
isAutoReplyboolean required
autoReplyReason'out-of-office' | 'auto-response' | 'delivery-status' | 'read-receipt' nullable required
listUnsubscribeUrlstring nullable required
listUnsubscribeEmailstring nullable required
priority'high' | 'normal' | 'low' nullable required
parsingErrorsstring[] nullable required
parsingDurationnumber nullable required
hasAttachmentsboolean required
attachmentCountinteger required
createdAtstring required
receivedAtstring nullable required

When Samva's receiving server accepted the email; null for outbound email. The sender's Date header plays no part and stays in the raw MIME.

processedAtstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.