# Add An Attachment To The Given Profile Adds an attachment to a profile. Returns the details of the added attachment. Endpoint: POST /compliance/kyc-protect/profiles/{profileId}/attachments Version: 1.10.9 Security: bearerToken ## Path parameters: - `profileId` (string, required) id of the profile ## Request fields (multipart/form-data): - `File` (string) The attachment to be added. Size Limited to 50MB. - `DocumentType` (string) The document type of the attachment - `Description` (string) The description of the attachment. Limited to 250 characters. ## Response 201 fields (application/json): - `id` (string) Attachment Id. - `fileName` (string) Example:passport.pdf (Attachment Name). - `fileSizeInBytes` (integer) Size of the attachment in bytes. - `documentType` (string) Document type of the attachment. - `description` (string) Description of the attachment. - `createdAt` (string) Attachment uploaded time. - `createdById` (integer) Attachment uploaded by user id - `createdBy` (string) Attachment uploaded by user - `modifiedAt` (string) Attachment modified time - `modifiedById` (integer) Attachment modified by user id - `modifiedBy` (string) Attachment modified by user ## 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 ## Response 409 fields (application/json): - `correlationId` (string) The unique identifier. (A UUID specified by RFC4122). - `message` (string) - `details` (string) Provides further information on why the request was rejected