v1

latestOpenAPI 3.1.0MIT2026-07-212239107.2 KB
Uploads

Upload a file

Upload a media file using multipart form data.

post/upload

Response

File uploaded successfully

idstring

Unique file ID

namestring

File name

pathstring

File URL

organizationIdstring
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "id": "e639003b-f727-4a1e-87bd-74a2c48ae41e",
  "name": "image.png",
  "path": "https://uploads.postiz.com/image.png",
  "organizationId": "85460a39-6329-4cf4-a252-187ce89a3480",
  "createdAt": "2024-12-14T08:18:54.274Z",
  "updatedAt": "2024-12-14T08:18:54.274Z"
}