Skip to content
GET/api/{version}/objects/documents/{doc_id}/versions/{major_version}/{minor_version}/annotations
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{doc_id}The document id field value.
{major_version}The document major_version_number__v field value.
{minor_version}The document minor_version_number__v field value.

On SUCCESS, Vault retrieves the specified version document rendition and its associated annotations.

  • The HTTP Response Header Content-Type is set to application/pdf.
  • The HTTP Response Header Content-Disposition contains a filename component which can be used when naming the local file.
curl -X GET -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v23.1/objects/documents/14/versions/2/1/annotations