cURL
curl --request POST \ --url https://cases.platform.arb.inc/service-of-notice/attachments/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "mailType": "sealedMailer", "url": "https://example.com/notice/12345" } '
"(binary PNG content)"
Takes a web page and makes a PNG image sized for the chosen mail type.
access token
The mail type to size the screenshot for.
"sealedMailer"
The web page to capture.
"https://example.com/notice/12345"
PNG image created successfully.
The response is of type file.
file