Attachment
File attachments with secure upload and download URLs.
📄️ Add Attachment
Creates an attachment record and returns a pre-signed `uploadUrl` for the file. Use it to upload a file, such as an inspection PDF, and store it in an Attachment custom field. Requires the `attachment:manage` permission; if your API key is restricted to specific permissions, include `attachment:manage`. The authenticated user owns the attachment.
📄️ Get Attachment
Retrieves an attachment's metadata (filename, content type, size, status) by its ID, including a signed download URL. The download URL is valid for 12 hours, so call this again to get a fresh URL rather than storing it. Requires the `attachment:list` permission for the user who owns the attachment.