/api/files/{id}/upload

Upload File

Module: Documents

Returns: Documents → Files → FileUploadResponse (single)

Authorization

Allowed Party Types (Account Role): Admin (1), Property Management Company (2), User (7), Insurance Broker (13)

This will be evaluated against your used access token.
Path Params
int32
required
Body Params
boolean | null
Defaults to false

Optional flag that enforces the Content-Type header when uploading the file via the generated pre-signed URL.

If enabled and a MIME type is defined for the file (File.Type.MimeType), the generated upload URL will require the client to use the same Content-Type header. Upload requests with a different or missing Content-Type will be rejected by the storage provider.

Note: This does not validate the actual file content. It only enforces the HTTP header used during upload.

Defaults to false. This will default to true in a future API version.

Headers
string

Language preference header. Allowed languages: German (en-DE).

string
Defaults to 2.0

API version to use (1 or 2) either with trailing .0 or without. Defaults to 2.0, if omitted. Can be prefilled based on the currently selected API Definition (Swagger UI).

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Error: Unauthorized

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json