Skip to main content
POST
Create an upload URL

Authorizations

Authorization
string
header
required

Clerk session JWT for browsers, or nmp_ personal access token for CLI/SDK clients. Not accepted by ClerkSession-only operations.

Headers

Authorization
string | null

Path Parameters

org_slug
string
required
project_slug
string
required

Body

application/json
filename
string
required
Required string length: 1 - 255
content_type
string | null
Maximum string length: 255
size_bytes
integer | null
Required range: x >= 1

Response

Successful Response

url
string
required
raw_object_path
string
required
expires_at
string
required
method
string
default:PUT
Allowed value: "PUT"
headers
Headers · object