Get a preview screenshot
Returns the image bytes for a single preview job, proxied from the vendor. The response's content type matches whatever the vendor sent for that capture, which isn't always PNG, and the Content-Disposition filename's extension matches it. You can also use the URL paths in the response of Get an inbox preview job to complete this request.
- Type: string Format: uuididrequired
The UUID of the email. If your email has translations, this is the ID of a specific language variant.
- Type: integerrun
_id requiredThe ID of the inbox preview job, returned by Send for inbox previews.
- Type: stringclient
_id requiredThe device identifier for the capture, matching a value from
client_idsin the response of Send for inbox previews.
- Type: string enumvariant
The image to return.
values- screenshot
- thumbnail
- full
_thumbnail
- Type: stringkey
Only applies when
variantisscreenshot. Match this to a key in that tile'sscreenshotsobject from Get an inbox preview job—most devices only havedefault, but some carry extra vendor-defined captures, like an image-blocking render.
- application/json
- application/json
- application/json
- application/json
curl 'https://api.customer.io/v1/design_studio/emails/123e4567-e89b-12d3-a456-426614174000/inbox_previews/1/captures/{client_id}'
@filenameImage bytes for the requested capture, in whatever format the vendor sent it.