Read cached Mail content
GET
/api/v1/mail/accounts/{id}/content/{resource_id}
const url = 'https://example.com/api/v1/mail/accounts/example/content/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/mail/accounts/example/content/example \ --header 'Authorization: Bearer <token>'Return an owned Mail image or font from the bounded derived cache. Browser reads never contact the original sender resource. Route: /api/v1/mail/accounts/{id}/content/{resource_id}. Inputs: id, resource_id. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
resource_id
required
string
Responses
Section titled “Responses”Media typeimage/png
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}