v1

latestOpenAPI 3.0.3MIT2026-07-1410794124.7 KB
Files

Upload File

Uploads selected file to the server. Required Access Level: ModifyFiles

post/files

Query parameters

expiresAfterDaysinteger nullable

integer

After how many days should the file be deleted.

Request body

BinaryContentstring byte required

Content of the file sent as binary data

Namestring string

Filename

ContentTypestring string

Type of file's content (e.g. image/jpeg)

Example request

{
  "Name": "attachment.txt"
}

Response

Created

FileNamestring string

Name of your file including extension.

Sizeinteger nullable

Size of your attachment (in bytes).

DateAddedstring date-time

Date of creation in YYYY-MM-DDThh:ii:ss format

ExpirationDatestring date-time nullable

Date when the file will be deleted from your Account.

ContentTypestring string

Content type of the file.

Example response

{
  "FileName": "filename.txt",
  "DateAdded": "2001-01-01T12:00:00",
  "ContentType": "image/jpeg"
}