/v4/media/upload
(Last updated: 16/05/2023)
Access to this feature is restricted and depends on your subscription type.
This endpoint allows for uploading media files.
Before starting to upload files through the API please read the media uploading instructions.
Request
Method
POST
URL
https://api.medipim.be/v4/media/upload
Headers
Body
file
:name
: Name of the media file (string, required)content
: Base64 encoded content of the file (string, required)
products[]
: List of Medipim product IDs (string[], optional)
Response
Body
mediaItem
:id
, ...: media information (same as media query results)