Media
Upload a file
POST
/
media
Authorizations
Authorization
string
headerrequiredValue for the Authorization header parameter.
Query Parameters
folder
enum<string>
requiredMedia folder id
Available options:
invoice
, subscription
, debitor
, payment
, payment-sepa-mandate
, payment-sepa-xml
, contract
, product
, upload
, default
Body
multipart/form-data
file
file
requiredResponse
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
Was this page helpful?