Skip to main content
POST
Get upload URL for project files via API key

Authorizations

Authorization
string
header
required

Enter your LeanMCP API key

Path Parameters

id
string
required

Project ID

Example:

"proj_123456789"

Body

application/json
fileName
string
required

File name

Example:

"project.zip"

fileType
string
required

File MIME type

Example:

"application/zip"

fileSize
number
required

File size in bytes

Example:

1024

Response

Pre-signed URL generated successfully

url
string
s3Location
string