Generate upload URL
Returns a short-lived upload URL for uploading a PDF to Seal’s storage. Upload the file with a POST request using Content-Type: application/pdf, then pass the returned storage_id to POST /documents.
POST
/uploads/generate-urlAuthorization
AuthorizationBearer token · headerrequiredPass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.
Responses
200
Upload URL generated
upload_urlstring<uri>requiredPre-signed URL — expires in 60 seconds
401
Missing or invalid API key
typestringrequiredMachine-readable error code
statusintegerrequiredHTTP status code
titlestringrequiredHuman-readable error message
detailsobjectField-level validation errors