API Reference

Upload a file

Upload a file to the Ownli cloud. All files 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 file. 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 file.

string

Unique identifier of the device on which the document was uploaded or photo taken.

string

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

string

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

string

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

string

[takenOn] The timestamp at which the document was uploaded or 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

Latitude at which photo was taken.

double

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