---
title: "Upload an image to your account's image gallery"
method: POST
path: "/emailCampaigns/images"
tags: ["Email Campaigns"]
---

# Upload an image to your account's image gallery

`POST /emailCampaigns/images`

## Request body

- UploadImageToGallery
  - `imageUrl` string, required — The absolute url of the image (no local file). Maximum allowed size for image is 2MB. Allowed extensions for images are - jpeg, jpg, png, bmp, gif.
  - `name` string — Name of the image.

## Response `201`

Image successfully uploaded

- UploadImageModel
  - `url` string, string, required — URL of the image uploaded

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
