Upload a file
upload_attachmentUpload a local file to the site's file manager to get a file ID for attaching to support tickets.
Instructions
Upload a local file into the file manager of the site and return its file id. The file is not linked to a ticket yet, pass the id to add_ticket_attachments or to create_ticket.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | File name to store it under, defaults to the name of the local file. | |
| filePath | Yes | Absolute path of the local file to upload. |