Create Document Attachment

POST https://{{vaultDNS}}/api/{{version}}/objects/documents/:{doc_id}/attachments

https://developer.veevavault.com/api/23.2/#Add_Document_Attachment

Create an attachment on the latest version of a document. If the attachment already exists, Vault uploads the attachment as a new version of the existing attachment. Learn more about attachment versioning in Vault Help.

To create a version-specific attachment, or to create multiple attachments at once, use the bulk API.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Authorizationstring
Content-Typestring