Product

New Feature: Image Upload API

By December 17, 2010 2 Comments

Our dev team is releasing a new feature every day until Christmas and today’s feature is great news for everyone using the CakeMail API! You can now upload your campaign images through an API call. It supports most major image formats including jpeg, gif and png.

It’s simple to set up and white label as well. All you need to do is post an image file to the following url: https://{your site url}/files/upload/{user key}/{client id}

The client id is optional and is only required if you are uploading an images to a specific client account (which has to be a child account).

The image file must be posted as a “file” input type. You can use the following code snippet as an example:

<form enctype="multipart/form-data" method="post"
action="https://mail.servecake.com/files/upload/xxxx/yyyy" >
<input name="file" type="file" />
<input type="submit" />
</form>

Enjoy!

Please wait...

Author Cakemail Support

More posts by Cakemail Support

Join the discussion 2 Comments

  • Christian Joudrey says:

    At this time it is not possible. You can submit this idea on our Developer Community though: http://dev.cakemail.com/forum/categories/submit-your-idea/listForCategory

    Please wait...