Media
Upload media
Upload a media file (image, video, or PDF). The file is stored and can be referenced when creating posts.
Allowed types: JPEG, PNG, GIF, WebP, MP4, MOV, PDF
Max file size: 100 MB
post/media/upload
Request
- Base URL: https://api.postplanify.com/api/v1
- URL: https://api.postplanify.com/api/v1/media/upload
- Auth: HTTP bearer
Response
File uploaded successfully
Example response
{
"ok": true,
"data": {
"id": "e1a2b3c4-d5e6-f7a8-b9c0-d1e2f3a4b5c6",
"name": "banner.png",
"url": "https://cdn.postplanify.com/api-uploads/banner.png",
"type": "image/png",
"size": 542000,
"createdAt": "2026-02-19T10:00:00.000Z",
"source": "library"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.