api.service.image.getEmailImage

api.service.image::getEmailImage

Retrieves the binary (JPG) image or thumbnail image for the specified UUID.

Service

api.service.image

Arguments

uuid (Required): The UUID of the email to retrieve the image for. (See EmailSearch, GetEmails or GetMostRecentEmail).

image-type(Required): The image type (thumbnail or full).

token (Required): The image token returned by the getEmails method call.

Example Response

Request:
http://image-api.emaildatasource.com/ea3-api/service/2.0.0/rest/api.service.image?method=getEmailImage&image-type=thumbnail&uuid=d51b4036-4808-41d7-b802-7d87882d615b&token=TOKEN

{BINARY-JPEG-DATA}

Error Codes

605: The specified image token was not valid.

600: Invalid image type specified.

500: Generic Error.