API Reference

Upload a photo

Upload a photo to the Ownli cloud. All photos used for check-ins need to be uploaded to the Ownli cloud first.

Log in to see full request history
Body Params
string
required
string
required

User defined file name of the photo. You can give a name that makes it easier the URL easier to identify. Also it will be helpful to provide a suffix so tools like a Browser, Finder or explorer can display it automatically.

string
required

Base64 encoded string representation of the photo.

string

Unique identifier of the device on which the photo was taken.

string

The manufacturer of the device on which the photo was taken. e.g. Apple, Xiaomi, Samsung, OPPO, OnePlus etc.

string

The model of the device on which the photo was taken. e.g. LM-G900, motorola edge, IPad, IPhone 14

string

The OS of the device on which the photo was taken. Android 9, iOS 13.2.3 etc.

string
required

[takenOn] The timestamp at which the photo was taken. (The date should be in the ISO8601 UTC format YYY-MM-DDThh:mm:ss.SSSZ; eg: 2024-01-01T00:00:00.000Z

double
required

Latitude at which photo was taken.

double
required

Longitude at which photo was taken.

Headers
string
required

Partner Id

string
required

Client Id

string
required

Client Secret

Responses

401

Authorization error e.g. due to an invalid or missing API keys.

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json