Upload file
upload-fileAutomation-only: upload document bytes as base64 for non-chat integrations, then call send-fax-uploaded with the returned path. NEVER use this in chat — call pipeline_start, list-numbers, list-contacts, then request-file-from-user (UI or curl). File bytes must not pass through the model for chat flows. Never expect a document as a chat attachment.
Side effects: stores file for fax delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Optional file format hint: pdf or tiff. | |
| user_id | No | Optional Fax.Plus user ID. Omit for self. Must be a UUID (dashed or 32-hex) or 24-char ObjectId (not a phone number). | |
| file_name | Yes | File name to store (for example, contract.pdf). | |
| mime_type | No | Optional MIME type (for example application/pdf). | |
| pipeline_id | Yes | Returned by pipeline_start. Pass it back unchanged. | |
| file_content | Yes | Document bytes as a base64 string. Data URI format is also accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |