Skip to main content
POST
Upload file
Multipart form upload. The file is stored in the project’s Convex file storage and is immediately referenceable from the project’s code.
Maximum file size: 100 MB. For larger uploads, use the direct-to-Convex upload pattern instead.

Authorizations

Authorization
string
header
required

Workspace-scoped API key. Generate from Workspace settings → API keys.

Path Parameters

id
string
required

Body

multipart/form-data
file
file
required
path
string
Example:

"/uploads/avatars/me.png"

Response

201 - application/json

Created

id
string
url
string<uri>
size
integer
mime
string
Last modified on April 18, 2026