Overview
You have two ways to upload files.- Simple Upload: Quick, easy, for small stuff.
- Resumable Upload: Robust, 3-step process, for big videos.
Method 1: Resumable Upload (The Pro Way)
Ideal for videos or anything >25MB.Step 1: Initialize
Tell us what you’re planning to upload. Endpoint:POST /upload/init
url (Pre-signed URL) and a path. Keep them safe.
Step 2: Push the Bytes
Send the raw binary file to theurl we gave you. Use PUT.
Important: Do not wrap this in JSON or Multipart form. Just send the raw bytes.
Step 3: Finalize
Tell us you’re done so we can register the file in our system. Endpoint:POST /upload/finalize
id (e.g., upload_abc123). This is the ID you use when creating a post.
Method 2: Simple Upload (The Lazy Way)
Good for images or small clips. Uses standardmultipart/form-data.
Endpoint: POST /upload/create
id immediately.
Supported Formats & Limits
| Type | Formats | Max Size |
|---|---|---|
| Images | JPG, PNG | 25 MB |
| Videos | MP4 | 1 GB (1024 MB) |
Tip: If you are uploading a picture of your cat (or your mom, we don’t judge), Simple Upload is fine. For a 4K podcast clip, use Resumable.