v2
latestSwagger 2.02026-08-04108164321.0 KBFileAttachment
Uploads a single file as a base64-encoded JSON body. Designed for MCP clients and other JSON-only callers that can't easily build multipart/form-data requests. When body.LinkTo is supplied (entityType in {Task, Expense, Estimate, Invoice}), the row is linked in the same transaction; otherwise it is inserted as AttachmentType="Draft" for later linking.
post/api/FileAttachment/Base64
Request body
Response
Returns the uploaded file attachment details.