# Return A Profile Attachment By Profile And Attachment Id Returns an attachment by the provided attachment Id and profile Id. Endpoint: GET /compliance/kyc-protect/profiles/{profileId}/attachments/{attachmentId} Version: 1.10.9 Security: bearerToken ## Path parameters: - `profileId` (string, required) Id of a profile. Example: "9a7ae0c8-f473-4ab6-8dbb-03fc061630cc" - `attachmentId` (string, required) Id of an attachment. Example: "24faad02-7e20-4912-bdd9-51e4797380c5" ## Response 200 fields (application/json): - `id` (string) Attachment Id. Example: "24faad02-7e20-4912-bdd9-51e4797380c5" - `fileName` (string) Example : passport.pdf Attachment Name. Example: "NL-X-170661060000.pdf" - `fileSizeInBytes` (integer) Size of the attachment in bytes. Example: 424860 - `documentType` (string) Document type of the attachment. Example: "financials" - `description` (string,null) Description of the attachment. Example: "test1" - `createdAt` (string) Attachment uploaded time. Example: "2023-08-07T07:30:03.186352Z" - `createdById` (integer) Attachment uploaded by user id Example: 101562008 - `createdBy` (string) Attachment uploaded by user Example: "Amol" - `modifiedAt` (string) Attachment modified time Example: "2023-08-07T07:30:25.630464Z" - `modifiedById` (integer) Attachment modified by user id Example: 101562008 - `modifiedBy` (string) Attachment modified by user Example: "Amol" - `linkedTo` (string) The profile component to which current attachment is linked to. ## 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