Media
Upload a file
Upload a file
Required permissions:media:write
POST
Authorizations
Value for the Authorization header parameter.
Query Parameters
Media folder id
Available options:
invoice
, subscription
, debitor
, payment
, payment-sepa-mandate
, payment-sepa-xml
, contract
, product
, upload
, default
Example:
"invoice"
Body
multipart/form-data
Response
201
application/json
Media resource created
Whether the media is public accessible or not
Example:
true
The mime type of the media
Example:
"image/jpeg"
The file extension of the media
Example:
"jpg"
The original file name of the media
Example:
"invoice.jpg"
The file name of the media in the storage
Example:
"01F9Z3ZJXZQZJZJZJZJZJZJZJZ.jpg"
The date and time when the media was created
Example:
"2021-01-01T00:00:00+00:00"
Was this page helpful?