# Return List Of Attachments On The Given Profile Gets a list of attachments on the given profile ordered by modified date. Endpoint: GET /compliance/kyc-protect/profiles/{profileId}/attachments Version: 1.10.9 Security: bearerToken ## Path parameters: - `profileId` (string, required) id of the profile ## Query parameters: - `page` (integer) The page number to fetch. Should be a positive integer. - `pageSize` (integer) Number of items to return per Page. ## Response 200 fields (application/json): - `totalSize` (integer) - `items` (array) - `items.id` (string) Attachment Id. - `items.fileName` (string) Example:passport.pdf (Attachment Name). - `items.fileSizeInBytes` (integer) Size of the attachment in bytes. - `items.documentType` (string) Document type of the attachment. - `items.description` (string) Description of the attachment. - `items.createdAt` (string) Attachment uploaded time. - `items.createdById` (integer) Attachment uploaded by user id - `items.createdBy` (string) Attachment uploaded by user - `items.modifiedAt` (string) Attachment modified time - `items.modifiedById` (integer) Attachment modified by user id - `items.modifiedBy` (string) Attachment modified by user - `items.linkedTo` (string) The profile component to which current attachment is linked to. Available values are profile and profileDetails. ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected