Upload Document Sync
upload_document_syncUpload one document to an Airparser inbox and wait up to 15 seconds for the parsed result. File content must be base64 encoded. If parsing takes longer, the response has parsing_in_progress: true and the document id; the document is accepted and keeps being parsed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original filename, including extension. | |
| inbox_id | Yes | Target Airparser inbox id. | |
| metadata | No | Optional metadata object to attach as meta. | |
| content_type | Yes | Mime type such as application/pdf or image/png. | |
| content_base64 | Yes | Base64-encoded file contents. |