Short-lived URLs for one message's HTML body and attachment bytes.

get/v1/mailboxes/{mailboxId}/messages/{messageId}/content

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token, scopes: email.read)
    • HTTP bearer

Path parameters

mailboxIdstring required
messageIdstring required

Message.id — the id this engine minted, not the sender's Message-ID header.

Response

The request has succeeded.

htmlUrlstring uri nullable required

Where the sandboxed renderer should point, or null when the message has no HTML body.

expiresAtstring date-time required

When these URLs stop working. Re-call for fresh ones; nothing is invalidated by doing so.

Changes

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