Skip to main content
POST
Upload a file

Authorizations

X-API-KEY
string
header
required
OW-KEY
string
header
required

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Body

multipart/form-data
file
file
required

The file to upload

Response

Successful response

type
string
required

Entity type label, e.g. "FileManager". Endpoints that derive it via Scala reflection (most generic list/get endpoints) may return the fully qualified server class name instead (e.g. "models.workorder.WorkOrder"); treat this field as informational.

data
object
required

Uploaded-file reference, as returned by the file upload endpoint and used in all attachment fields.

status
enum<string>
required

"ok" on success

Available options:
ok