Download a Marketing Campaign Image

GET {{base_url}}/campaign/:CampaignID/photo

NOTE: This returns an image in byte format. You'll need to decode the response accordingly.

Use this endpoint to download and retrieve an image file associated with a marketing campaign.

Request Params

KeyDatatypeRequiredDescription
sizestringOptional.
The size of the associated image.
NOTE:
Use this query parameter to download an image with a specific size. The options are:
  • original (the actual size of the image uploaded)
  • detail (600x600)
  • thumbnail (120x120) |

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: OK

"[\r\n    {\r\n        \"{{The file content with a thumbnail (120x120) size.}}\"\r\n    }\r\n]\r\n"