Skip to content

Get an inline image by Content-ID​

GET
/api/v1/messages/{id}/inline/{cid}

Returns the part whose Content-ID matches cid exactly (case-sensitive, without angle brackets). Used by the HTML preview to resolve cid: references. The stored content type is sent only when it is one of image/png, image/jpeg, image/gif, image/webp, image/avif or image/bmp; any other part is served as application/octet-stream.

Responses​

Part bytes, decoded. Sent with Cache-Control: private, max-age=31536000, immutable, X-Content-Type-Options: nosniff and Content-Security-Policy: default-src 'none'.

Samples​

Powered by VitePress OpenAPI

Released under the MIT / Apache 2.0 License.