Create a PDF upload
postalform.create_pdf_uploadUse this when the host cannot provide a PDF file param directly. It creates a short-lived PDF upload URL and upload token (multipart/form-data, file field). Let the HTTP client generate Content-Type with its multipart boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Optional original file name. | |
| request_id | No | Optional idempotency key. Reuse the same value if retrying the call. | |
| content_type | No | Optional content type hint (application/pdf). | |
| content_length | No | Optional content length in bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | Yes | ||
| expires_at | Yes | ||
| upload_url | Yes | ||
| upload_token | Yes | ||
| required_headers | Yes |