postiz_upload_file
Upload an image or video file to Postiz storage, receiving an identifier and path to attach to social media posts.
Instructions
Upload a media file (image, video) to Postiz storage via POST /api/uploads/file. Returns { id, path } that you can pass into postiz_create_post value[].image[]. Requires enableWrite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Absolute path to a local file. | |
| base64 | No | Base64-encoded contents. | |
| fileName | No | File name for multipart upload. | |
| mimeType | No | Content-Type. |