API Response


All responses are in JSON.

1 field will always be present in the response. This field is "status". The status field will contain a value of "ok" if everything is good, or will contain "error" if there was an error.

Successful API response:

        "status":"ok"
    

if the "status" field contains "error", then an additional field labeled "error" will be present, containing the error message.

Response with an error:

        "status":"error"
        "error":"Invalid Login"
    

Some methods return additional data. and will be included in the response. For example, the get_files method return a list of files.

Response with additional data

    "status":"ok"
    "files":{
        "0":{
            "file_id":1
        }
        "1":{
            "file_id:2
        }
    }