EmailController

Take a screenshot of an email in a browser

Renders the email in a browser engine and returns PNG bytes. Intended for visual QA and rendering regression checks.

post/emails/{emailId}/screenshot/binary

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/{emailId}/screenshot/binary
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

Request body

heightinteger nullable

Window height in pixels

widthinteger nullable

Window width in pixels

Response

OK

Changes

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