Upload File
Storage Endpoints
Upload File
Upload a generic file without server-side processing
POST
Upload File
Uploads a file directly to storage without processing. Suitable for PDFs, videos, Office documents, and other non-image assets. The file type is inferred automatically from the MIME type. This endpoint acceptsDocumentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
multipart/form-data. Requires an authenticated user.
Rate limit: 10 requests per 5 minutes.
Body Parameters
The file to upload. Maximum 50 MB.
JSON-encoded array of path segments. The file is stored under the joined path with a UUID sub-folder appended. Example:
["documents", "user-123"] → documents/user-123/<uuid>/<filename>.Associates the file with an entity for cascade deletion.
Associates the file with a comment for cascade deletion.
Associates the file with a space.
Display order when a record has multiple attachments. Defaults to
0.Custom key-value data stored alongside the file record.
Response
type field is one of: image, video, document, other. It is inferred from the MIME type.
Error Responses
No File — 400 Bad Request
No File — 400 Bad Request
File Too Large — 413
File Too Large — 413

