Our documentation is changing, please click here to enjoy it!

Skip to end of metadata
Go to start of metadata

This API route allows you to upload images from URL to use it in the createMessage or sendInstantMessage APIs. You can then use the bigPicture or icon in those APIs for Android notifications.

This API is only available for Android applications.

Operations

POST

/uploadImage.php

ParameterModel
body
Data

Image
Response
body
Return code
returnCodeDescription

0

Image uploaded

1A database error occured
2Parse error
3No uploadedImage
4No or bad user
5No or bad partner
6No image, type or url
7Bad image type
8Cannot download image
9

Cannot copy image: {error type}

10Not an Android application

Upon successful upload (i.e., returnCode == 0), the returnLabel field in the response will contain the resource name.

Examples

RequestBodyResponseDescription

POST /uploadImage.php

 

Uploads a bigPicture image from a URL
  • No labels