v1
Swagger 2.02026-07-13107162315.5 KBFileAttachment
Uploads a single file by giving the server a public https URL to fetch from. The server downloads the file (capped at 50 MB, SSRF-protected: blocks RFC1918, loopback, link-local, AWS metadata IPs, and IPv6 ULA). 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/FromUrl
Request body
Response
Returns the uploaded file attachment details.