Upload File Json
POST/api/websites/:site_id/files
Upload a single file via JSON, base64-encoded.
Mirrors the multipart /files/upload endpoint, but accepts a
JSON body so callers without easy multipart/form-data support
(MCP stdio transport, SDKs, scripts) can use the same upload path.
Binary files (images, video, fonts) round-trip safely because the
encoding step is base64, not UTF-8.
Request
Responses
- 200
- 422
Successful Response
Validation Error