v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Email Campaigns

Upload an image to your account's image gallery

post/emailCampaigns/images

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 of the image.

Example request

{
  "imageUrl": "https://somedomain.com/image1.jpg",
  "name": "nature.jpg"
}

Response

Image successfully uploaded

urlstring string required

URL of the image uploaded

Example response

{
  "url": "https://img.mailinblue.com/100000/images/rnb/original/62casdase8wewq9df1c2f27c.jpeg"
}