v1
latestOpenAPI 3.0.12026-07-135210550.0 KBFinalize Attachments
Create Attachment
post/finalize/v2/agreements/{agreement_id}/attachments
Path parameters
agreement_idstring uuid required
The agreement UUID.
Request body
Example request
{
"data": {
"attachment_file": {
"name": "ImportantSpreadsheet.xlsx"
}
}
}Response
created
Example response
{
"data": {
"file_name": "ImportantSpreadsheet.xlsx"
},
"_links": {
"attachment_file_upload": {
"href": "https://s3.amazonaws.com/linksquares-finalize-bucket/store/attachment/d0441f5b-3f7a-43de-84ef-37758b9929dd/file/ffd9b8871fb6250a4a98a53011e17527/basic_agreement.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=<Amz-Credential-Value>&X-Amz-Date=20230402T134848Z&X-Amz-Expires=900&X-Amz-Security-Token=<Amz-Security-Token-Value>&X-Amz-SignedHeaders=host&X-Amz-Signature=<Amz-Signature-Value>",
"operation": "put",
"file": "basic_attachment.docx"
},
"attachment_upload_complete": {
"href": "https://api.linksquares.com/api/finalize/v2/agreements/eb05deb4-05c5-45d0-ae74-9ec2f3e2ad86/attachments/37c5e7c4-f675-11ed-b67e-0242ac120002",
"operation": "patch"
}
}
}