Inbound

Read a received message

The message with its envelope, parties, headers, text, HTML and attachment descriptors; the attachment bytes and the raw message are downloads of their own. Once the stream’s content window has passed, the content fields are null and contentAvailable is false.

get/v1/inbound/{id}

Request

  • Base URL: https://api.sendora.se
  • URL: https://api.sendora.se/v1/inbound/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The inbound message id.

Response

The received message with everything but the attachment bytes.

inboundMessageIdstring uuid required
streamIdstring uuid required

The inbound stream that received it.

receivedAtstring date-time required

When the message was accepted from the sending server.

envelopeRecipientstring required

The address of yours the message was sent to.

mailboxHashstring nullable required

The text after the plus sign in that address, when the sender used one.

sizeBytesinteger required
attachmentCountinteger required
hasTextboolean required
hasHtmlboolean required
parseIssuestring nullable required

What the parser met; null when the message parsed clean. A hard issue empties the parsed parts, and the raw message stays: no_headers, header_block_too_large, too_many_headers, too_many_parts, nesting_too_deep, missing_boundary, decoded_too_large, parse_timeout, parser_error. A soft issue keeps them and says what was changed or dropped: truncated_multipart, too_many_attachments, unknown_transfer_encoding, undecodable_container, filename_sanitised, control_chars_stripped, multiple_from, duplicate_header, malformed_header_dropped, address_list_truncated, header_value_truncated. A message with several names the hard one, or the first soft one in this order.

contentAvailableboolean required

False once the stream’s content window has passed; only the reference remains.

contentExpiresAtstring date-time required

When the content goes.

subjectstring nullable required
datestring date-time nullable required

The sender’s Date header as ISO 8601, when it was a real moment.

toCountinteger required
ccCountinteger required
messageIdHeaderstring nullable required
inReplyTostring nullable required
referencesstring[] required
textstring nullable required

The plain-text body; null without one or once the content is gone.

htmlstring nullable required

The HTML body as received; null without one or once the content is gone.

Changes

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