POST
/
media

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Query Parameters

folder
enum<string>
required

Media folder id

Available options:
invoice,
subscription,
debitor,
payment,
payment-sepa-mandate,
payment-sepa-xml,
contract,
product,
upload,
default

Body

multipart/form-data
file
file
required

Response

201 - application/json
createdAt
string

The date and time when the media was created

fileExtension
string

The file extension of the media

fileName
string

The original file name of the media

id
object
isPrivate
boolean

Whether the media is public accessible or not

mediaFolder
object
mimeType
string | null

The mime type of the media

storageFileName
string

The file name of the media in the storage