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.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Parameters to upload an image
imageUrlstringRequired

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.

namestringOptional
Name of the image.

Response

Image has been successfully uploaded
urlstring
URL of the image uploaded

Errors

400
Bad Request Error