Document Attachments
Create Document Attachment
Creates an attachment for a particular document
post/public/v1/documents/{id}/attachments
Path parameters
idstring required
Document UUID
Request body
Example request
{
"source": "https://is3-ssl.mzstatic.com/1e7fbd74-d10c-8e3a-63c3-0beb3ea231a5/512x512bb.jpg",
"name": "Additional agreement"
}Response
OK
Example response
{
"uuid": "5a2df796-6c65-492b-955c-5709229a89f7",
"date_created": "2021-10-27T20:54:18.757496Z",
"created_by": {
"id": "WbAzFZFMgXHnoQREADTdnE",
"email": "test_user@mail.com",
"first_name": "John",
"last_name": "Smith",
"avatar": "https://pd-live-media.s3.amazonaws.com/users/000GTSGwJw000L2KZqc000/avatar.jpg"
},
"name": "AttachedPhoto.jpg"
}