Upload Attachment

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Required: File to upload - max size varies by type - example.pdf

tagsstringRequired

Optional: JSON array of tags for searchability - [“tag1”, “tag2”]

titlestringRequired

Optional: Human-readable title for the attachment - max 255 chars

belongs_idstringRequired

Required: ID of the entity to attach to - UUID or integer

belongs_tostringRequired

Required: Clean entity type for attachment relationship - customer_note|customer|user|tenant

descriptionstringRequired

Optional: Detailed description of attachment content - max 1000 chars

Response

Successful response