Manage ticket and action file attachments (/api/Attachment).
Parameters:
- Return All / Limit
- Ticket ID — Filter by ticket (0 = all)
- Action ID — Filter by action; API requires ticket ID when using action filter
- File Type — Optional file type filter
Returns attachment content (often binary) or metadata when Include Details is enabled.
Upload a file using Filename and Data (Base64). Set Ticket ID to link to a ticket. Use Additional Fields for note, showforusers, action_id, etc.
Delete an attachment by Attachment ID.
Request an S3 presigned upload URL (POST /Attachment/GetS3PresignedURL). Additional Fields JSON is sent as a single-element array (PresignedURLRequest schema).
Mark a presigned upload complete (POST /Attachment/PresignedURLUploadComplete). Additional Fields JSON is sent as a single-element array.
Get or delete an inline image by Image ID (UUID) via /Attachment/image/{id}.
Get or delete a document attachment by Document ID (integer), or create via POST /Attachment/document using Additional Fields (object or array).
Upload an inline image via POST /Attachment/image. Pass HaloPSA query parameters as Query Parameters JSON (e.g. ticket_id, atblob, atguid).
Download an image via GET /Attachment/image using Token and Nonce query parameters (anonymous/portal access pattern).