Upload transaction attachment
feed_item_attachment_uploadUpload an attachment to a Starling Bank transaction feed item using a file path or base64 data.
Instructions
Upload an attachment to a feed item (transaction). Provide either base64 encoded attachment data or a file path (recommended).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Option 1: Path to file on disk (recommended) | |
| accountUid | Yes | The account UID | |
| categoryUid | Yes | The category UID (use default category for main account) | |
| contentType | No | Content type of the attachment (e.g., image/jpeg, application/pdf) | |
| feedItemUid | Yes | The feed item UID | |
| attachmentData | No | Option 2: Base64 encoded attachment data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedItemAttachmentUid | No |