Create Basecamp Attachment
basecamp_create_attachmentUpload a local file or public URL to Basecamp and get an attachable_sgid for embedding images or videos in messages, comments, documents, cards, or todos.
Instructions
Upload a file to Basecamp and get the attachable_sgid needed to embed it in rich text. Use this when you want to show an image or a video in a message, comment, document, card or todo, and that file is not in Basecamp yet — for example an image at an external URL, or a screenshot on disk. Give either file_path or url. The returned sgid goes into a tag. An sgid is tied to this account and does not expire, but it is only shown once here, so embed it in the same session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL of a file to download and then upload to Basecamp. The URL must be publicly readable. Give either this or file_path. | |
| name | No | Filename to store in Basecamp, with its extension (e.g. "before-after.png"). Defaults to the last part of file_path or url. Basecamp shows this name as the caption when the attachment has no caption attribute. | |
| file_path | No | Absolute path of a local file to upload. Give either this or url. | |
| content_type | No | MIME type of the file (e.g. "image/png"). Defaults to a type inferred from the filename. |