Generate a service-of-notice attachment
service-of-notice
Generate a service-of-notice attachment
Takes a screenshot of the provided URL and returns it as a PNG image sized for the specified mail type. Use this to programmatically generate the optional image that appears on a service-of-notice mailing.
POST
Generate a service-of-notice attachment
Authorizations
access token
Body
application/json
The mail type identifier. Must support attachments.
Example:
"pressureSealed"
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:
500Example:
"https://www.example.com/notice-image"
Response
Screenshot captured successfully. Returns raw PNG image data.
The response is of type file.