Add An Attachment To The Given Profile

Adds an attachment to a profile. Returns the details of the added attachment.

SecuritybearerToken
Request
path Parameters
profileId
required
string <uuid>

id of the profile

Request Body schema: multipart/form-data
File
string <binary>

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.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404
409

Conflict

post/compliance/kyc-protect/profiles/{profileId}/attachments
Request samples
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "fileName": "string",
  • "fileSizeInBytes": 0,
  • "documentType": "string",
  • "description": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "createdById": 0,
  • "createdBy": "string",
  • "modifiedAt": "2019-08-24T14:15:22Z",
  • "modifiedById": 0,
  • "modifiedBy": "string"
}