Skip to main content
POST
Generate Upload Urls

Headers

authorization
string | null
X-Organization-ID
string | null

Cookies

stytch_session
string | null

Body

application/json

Request to generate presigned upload URLs.

files
Files · object[]
required

List of files: [{'filename': str, 'file_size': int}]

auto_process
boolean
default:false

Auto-process documents without HITL review (Phase 8)

brand_key
string | null

Brand key for pricing documents (required when document_category='pricing')

brand_name
string | null

Brand display name (e.g. 'New Balance'). Used when creating new brands.

document_category
string | null
default:product

Category of document: 'product' or 'pricing'

review_mode
string | null

PDF extraction review override for this upload: org_default | always | threshold | never (None = organization default). Increment C1.

Response

Successful Response

Response with presigned upload URLs.

job_id
string
required
uploads
Uploads · object[]
required