Skip to main content
POST
Generate a service-of-notice attachment

Authorizations

Authorization
string
header
required

access token

Body

application/json
mailType
string
required

The mail type identifier. Must support attachments.

Example:

"pressureSealed"

url
string
required

URL of the webpage to screenshot. The page will be captured and returned as a PNG image sized to fit the attachment area of the specified mail type.

Maximum string length: 500
Example:

"https://www.example.com/notice-image"

Response

Screenshot captured successfully. Returns raw PNG image data.

The response is of type file.