files_upload
Upload UTF-8 text or base64 binary files to RetailCRM. Specify filename and content; optionally set base64 flag and MIME type.
Instructions
Upload a file (UTF-8 text or base64 binary). Returns {success, file}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64 | No | Set true if `content` is base64-encoded binary | |
| content | Yes | File content (UTF-8 text, or base64 when base64=true) | |
| filename | Yes | Filename for the uploaded file | |
| content_type | No | MIME type (default application/octet-stream) |