> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UploadMarketingImageInput

> An image to compress and host for a marketing template.

<ResponseField name="channel" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-channel">MarketingChannel!</a>} required>
  The channel the image is for. SMS accepts JPEG, PNG, and GIF and must end up at most 500 KB, resized toward a 1000px longest side. EMAIL also accepts WebP, at most 10 MB, resized toward 1200px wide. As in the editors, the original is kept when resizing would make the file larger.
</ResponseField>

<ResponseField name="source" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-image-source-input">MarketingImageSourceInput!</a>} required>
  The image file.

  <Expandable title="fields" lazyRender>
    <ResponseField name="base64" type="String">
      The file's bytes, base64-encoded. At most 10000000 bytes once decoded.
    </ResponseField>
  </Expandable>
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.