POST
/
media

Authorizations

Authorization
string
headerrequired

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
id
string
mediaFolder
object
isPrivate
boolean

Whether the media is public accessible or not

mimeType
string | null

The mime type of the media

fileExtension
string

The file extension of the media

fileName
string

The original file name of the media

storageFileName
string

The file name of the media in the storage

createdAt
string

The date and time when the media was created