emailCampaigns

Upload an image to your account's image gallery

Upload an image to your account''s image gallery by providing an absolute URL to the image. The maximum allowed image size is 2MB and supported formats are jpeg, jpg, png, bmp, and gif; local file uploads are not supported.

post/emailCampaigns/images

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/emailCampaigns/images
  • Auth: API key in header api-key

Request body

imageUrlstring 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.

namestring

Name shown in your Brevo image gallery. Include the file extension, e.g. product-banner.png

Response

Image has been successfully uploaded

urlstring

URL of the image uploaded

Changes

No recorded changes to this operation across all 1 revision of this API.