Generates a pre-signed S3 URL for the rendered HTML body of the email (text/html, named <id>.html). The URL is returned in the Location response header with status 200 and an empty body; this is not a redirect. The link is valid for 120 seconds. With inline=true the file is served with Content-Disposition: inline, otherwise as an attachment.
The record is looked up within the caller's tenant, and the caller must also be allowed to access the entity the email is linked to (employer, customer, lead, workflow or meeting, checked in that order); otherwise that entity's access check rejects the request.
Errors: 400 if id is missing; 404 if the record does not exist in the tenant or has no stored HTML file.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400The id parameter is missing.
404Email record not found, or it has no associated HTML file.