coverImage fields or any other content reference. All media endpoints require a valid Bearer token.
List Media Files
Returns a paginated list of all files in the media library. Requires a valid Bearer token.Query Parameters
number
Page number to retrieve. Defaults to
1.number
Number of items to return per page. Defaults to
10.Response
Upload a File
Uploads a new file to the media library. Requires a valid Bearer token. The request must be sent asmultipart/form-data with the binary file attached under the file field.
cURL Example
Request Body
file
required
The binary file to upload, sent as a
multipart/form-data field named file. The filename and MIME type are inferred from the submitted file.Response
Supported file types: JPEG (
.jpg, .jpeg), PNG (.png), GIF (.gif), and WebP (.webp). Uploads of unsupported MIME types will be rejected with a 400 error. The default maximum file size is 10 MB per upload — contact your system administrator to adjust this limit in the server configuration. Large images are not automatically resized; optimise images before uploading for best front-end performance.Delete a Media File
Permanently removes a file from the media library and deletes it from the server filesystem. Requires a valid Bearer token.Path Parameters
number
required
The numeric ID of the media file to delete.