# List attachments Returns a paginated list of Attachments for the specified site. Supports filtering and sorting. Endpoint: GET /site/{siteId}/ahds/v1/attachment Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Query parameters: - `page` (number) Page number (0-indexed) - `pageSize` (number) Number of items per page - `sortBy` (string) Field to sort by Enum: "createdAt", "updatedAt", "fileDownloadUrl", "mimeType", "name", "notes", "recordType" - `sortOrder` (string) Sort order Enum: "asc", "desc" - `fileDownloadUrl` (string) URL that can be used to download the file content, subject to authorization. - `fileId` (string) Identifier of the underlying stored file object. Example: "123e4567-e89b-12d3-a456-426614174000" - `isActive` (boolean) Whether the attachment is active and should be shown in client applications. - `isPrimaryImage` (boolean) Whether this attachment is the primary image for the associated record. - `mimeType` (string) MIME type of the attached file (e.g. 'image/jpeg', 'application/pdf'). - `name` (string) Human-readable name or title of the attachment. - `notes` (string) Free-text notes related to the attachment. - `recordId` (string) Identifier of the record this attachment is linked to. Example: "123e4567-e89b-12d3-a456-426614174000" - `recordType` (string) Type of record this attachment is associated with (e.g. 'Animal', 'Contact', 'Consult'). ## Response 200 fields ## Response 401 fields