Upload Attachment
Upload a file from the web composer (the paperclip button).
Accepts JSON {filename, content_base64, content_type?} (base64 keeps the upload on the same JSON path as the rest of the API — no multipart dependency). Stores the blob and creates an attachment row owned by the signed-in handle; message_id stays NULL until the message is sent, which binds it via bind_owned_attachments_to_message. Same 25MB cap as the attach verb. Returns the new attachment_id + metadata.
post/v1/attachments
Request
- Base URL: https://www.tandem-cc.com (the document declares no server; this is the origin it was published from)
- URL: https://www.tandem-cc.com/v1/attachments
- Auth: none declared
Headers
X-Tandem-Api-Keystring nullable
Authorizationstring nullable
Request body
object required
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.