Generate Upload URL
Files API
Generate Upload URL
Generate a presigned URL for direct upload of signed release forms to cloud storage
GET
Generate Upload URL
Generate Release Form Upload URL
Generates a presigned URL that allows direct upload of signed release forms to cloud storage. This enables clients to upload release form PDFs directly without proxying through the API server.Authentication
Required - Bearer token authentication. The tenant context is extracted from the JWT token.Response
A presigned URL valid for 15 minutes that allows direct PUT upload to cloud storage
The GCS URI (
gs://bucket/path) where the file will be stored. Use this value as signedReleaseFileUrl when creating verification orders. Alternatively, you can pass an HTTPS URL or inline base64 PDF directly in signedReleaseFileUrl — see Signed release file.Example Request
Example Response
Uploading the File
After obtaining the signed URL, upload your PDF file directly to cloud storage:Using the File URI
After uploading, use thefileUri as the signedReleaseFileUrl when creating a verification order:
File Storage
Files are organized by tenant for security and isolation:Important Notes
- URL Expiration: The signed URL expires after 15 minutes
- File Type: Only PDF files are supported (
application/pdf) - File Size: Maximum file size is 10MB
- Tenant Isolation: Files are stored in tenant-specific directories
- Security: Files can only be accessed by the owning tenant
Response Codes
| Status Code | Description |
|---|---|
200 | Upload URL generated successfully |
401 | Unauthorized - invalid or missing JWT token |
500 | Internal server error |