Veeva Vault

App · 25 actions

Create, update and route documents and object records in Veeva Vault, run their lifecycle actions and workflow tasks, query with VQL, and follow what changes.

Actions

ActionWhat it does
Accept workflow taskAccept a task that is available to you, so it becomes yours.
Complete workflow taskComplete one of your workflow tasks, with its verdict when it asks for one.
Create documentCreate a document from a file, or a content placeholder when no file is given.
Create object recordCreate a record of an object, such as a Product or a custom object.
Delete documentDelete a document with all its versions and files.
Delete object recordDelete an object record.
Get current userGet the user the API access token belongs to.
Get documentGet a document's fields, versions and renditions.
Get object recordGet every field of an object record.
Get workflow taskGet a workflow task's status, assignee, instructions and record.
List deleted documentsList documents and versions deleted in the last 30 days.
List document user actionsList the user actions, such as starting a review or approving, you can take on a document's latest version.
List documentsList documents, newest change first, filtered by name, type, status or when they changed.
List object recordsList an object's records, newest change first, filtered by name or when they changed.
List objectsList the kinds of records (objects) in the Vault, such as Product, Study or a custom object.
List record user actionsList the user actions, such as changing state or starting a workflow, you can take on an object record.
List usersList the Vault's users.
List workflow tasksList workflow tasks on a record, or your own.
List workflowsList the workflows on a record, or the ones you take part in.
Reassign workflow taskGive an open workflow task to someone else.
Run document user actionTake a user action on a document's latest version, such as moving it to Approved or starting a workflow.
Run record user actionTake a user action on an object record, such as changing its state or starting a workflow.
Run VQL queryRun a Vault Query Language query, such as SELECT id, name__v FROM documents, and get the rows.
Update documentChange field values on the latest version of a document.
Update object recordChange field values on an object record.

Accept workflow task

Accept a task that is available to you, so it becomes yours.

Inputs

Workflow tasktask_idnumberRequired
The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "responseStatus": "example"
  }
}

Complete workflow task

Complete one of your workflow tasks, with its verdict when it asks for one. Tasks that need an eSignature are completed in Vault.

Inputs

Workflow tasktask_idnumberRequired
The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
Verdictverdicttext
The verdict's name, such as verdict_approved__c, when the task asks for one.
Fieldsfieldsobject
Other values the task asks for, such as {"verdict_approved_comment__c": "Looks good"}.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "responseStatus": "example"
  }
}

Create document

Create a document from a file, or a content placeholder when no file is given.

Inputs

NamenametextRequired
The document's name.
Document typedocument_typetextRequired
The document type.
LifecyclelifecycletextRequired
The lifecycle the document follows. The list shows the ones the type allows.
Subtypesubtypetext
The document subtype, when the type has subtypes.
Filefiletext
The document's file. Leave empty for a content placeholder.
Fieldsfieldsobject
Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": 1,
    "responseStatus": "example"
  }
}

Create object record

Create a record of an object, such as a Product or a custom object.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Namenametext
The record's name. Leave empty when the object names records itself.
Fieldsfieldsobject
Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": "example",
    "responseStatus": "example",
    "url": "example"
  }
}

Delete document

Delete a document with all its versions and files. Veeva support can restore it within 30 days.

Inputs

Documentdocument_idnumberRequired
The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": 1,
    "responseStatus": "example"
  }
}

Delete object record

Delete an object record.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Recordrecord_idtextRequired
The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": "example",
    "responseStatus": "example"
  }
}

Get current user

Get the user the API access token belongs to.

Inputs

None.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "active__v": true,
    "id": 1,
    "security_profile__v": "example",
    "user_email__v": "example",
    "user_first_name__v": "example",
    "user_last_name__v": "example",
    "user_name__v": "example"
  }
}

Get document

Get a document's fields, versions and renditions.

Inputs

Documentdocument_idnumberRequired
The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "document": {
      "classification__v": "example",
      "created_by__v": 1,
      "description__v": "example",
      "document_creation_date__v": "example",
      "document_number__v": "example",
      "id": 1,
      "last_modified_by__v": 1,
      "lifecycle__v": "example",
      "major_version_number__v": 1,
      "minor_version_number__v": 1,
      "name__v": "example",
      "status__v": "example",
      "subtype__v": "example",
      "title__v": "example",
      "type__v": "example",
      "version_modified_date__v": "example"
    },
    "renditions": {},
    "versions": [
      {
        "number": "example",
        "value": "example"
      }
    ]
  }
}

Get object record

Get every field of an object record.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Recordrecord_idtextRequired
The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": {
      "created_by__v": 1,
      "created_date__v": "example",
      "id": "example",
      "modified_by__v": 1,
      "modified_date__v": "example",
      "name__v": "example",
      "status__v": [
        "example"
      ]
    }
  }
}

Get workflow task

Get a workflow task's status, assignee, instructions and record.

Inputs

Workflow tasktask_idnumberRequired
The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "assigned_date__v": "example",
    "assignee__v": "example",
    "created_date__v": "example",
    "due_date__v": "example",
    "id": 1,
    "instructions__v": "example",
    "label__v": "example",
    "object__v": "example",
    "record_id__v": "example",
    "status__v": [
      "example"
    ],
    "workflow__v": "example"
  }
}

List deleted documents

List documents and versions deleted in the last 30 days.

Inputs

Deleted afterdeleted_afterdate and time
Only documents deleted after this time, up to 30 days ago.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "date_deleted": "example",
        "deletion_type": "example",
        "id": 1,
        "major_version_number__v": 1,
        "minor_version_number__v": 1
      }
    ]
  }
}

List document user actions

List the user actions, such as starting a review or approving, you can take on a document's latest version.

Inputs

Documentdocument_idnumberRequired
The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "lifecycle_actions__v": [
      {
        "executable__v": "example",
        "label__v": "example",
        "lifecycle_action_type__v": "example",
        "name__v": "example",
        "state__v": "example"
      }
    ]
  }
}

List documents

List documents, newest change first, filtered by name, type, status or when they changed.

Inputs

Name containsname_containstext
Only documents whose name contains this.
Document typedocument_typetext
Only documents of this type.
Statusstatustext
Only documents in this lifecycle state, by its label, such as Draft or Approved.
Changed afterchanged_afterdate and time
Only records changed after this time.
Records per pagepage_sizenumber
How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
Skip recordspage_offsetnumber
How many records to skip, for reading the next page.At least 0.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "classification__v": "example",
        "created_by__v": 1,
        "description__v": "example",
        "document_creation_date__v": "example",
        "document_number__v": "example",
        "id": 1,
        "last_modified_by__v": 1,
        "lifecycle__v": "example",
        "major_version_number__v": 1,
        "minor_version_number__v": 1,
        "name__v": "example",
        "status__v": "example",
        "subtype__v": "example",
        "title__v": "example",
        "type__v": "example",
        "version_modified_date__v": "example"
      }
    ],
    "responseDetails": {
      "next_page": "example",
      "pageoffset": 1,
      "pagesize": 1,
      "size": 1,
      "total": 1
    }
  }
}

List object records

List an object's records, newest change first, filtered by name or when they changed.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Name containsname_containstext
Only records whose name contains this.
Extra fieldscolumnslist
More fields to return, by field name, such as abbreviation__c.
Changed afterchanged_afterdate and time
Only records changed after this time.
Records per pagepage_sizenumber
How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
Skip recordspage_offsetnumber
How many records to skip, for reading the next page.At least 0.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "created_by__v": 1,
        "created_date__v": "example",
        "id": "example",
        "modified_by__v": 1,
        "modified_date__v": "example",
        "name__v": "example",
        "status__v": [
          "example"
        ]
      }
    ],
    "responseDetails": {
      "next_page": "example",
      "pageoffset": 1,
      "pagesize": 1,
      "size": 1,
      "total": 1
    }
  }
}

List objects

List the kinds of records (objects) in the Vault, such as Product, Study or a custom object.

Inputs

None.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "objects": [
      {
        "label": "example",
        "label_plural": "example",
        "name": "example",
        "source": "example"
      }
    ]
  }
}

List record user actions

List the user actions, such as changing state or starting a workflow, you can take on an object record.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Recordrecord_idtextRequired
The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "label": "example",
        "name": "example",
        "type": "example"
      }
    ]
  }
}

List users

List the Vault's users.

Inputs

Records per pagepage_sizenumber
How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
Skip recordspage_offsetnumber
How many records to skip, for reading the next page.At least 0.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "size": 1,
    "start": 1,
    "users": [
      {
        "active__v": true,
        "id": 1,
        "security_profile__v": "example",
        "user_email__v": "example",
        "user_first_name__v": "example",
        "user_last_name__v": "example",
        "user_name__v": "example"
      }
    ]
  }
}

List workflow tasks

List workflow tasks on a record, or your own.

Inputs

Objectobject_nametext
Only for this object's record. Leave empty for your own.
Recordrecord_idtext
Only for this record. Leave empty for your own.
Statusesstatuseslist
Only tasks in these statuses. Leave empty for all.One or more of: available__v (Available to accept), assigned__v (Assigned), completed__v (Completed), cancelled__v (Cancelled).
Records per pagepage_sizenumber
How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
Skip recordspage_offsetnumber
How many records to skip, for reading the next page.At least 0.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "assigned_date__v": "example",
        "assignee__v": "example",
        "created_date__v": "example",
        "due_date__v": "example",
        "id": 1,
        "instructions__v": "example",
        "label__v": "example",
        "object__v": "example",
        "record_id__v": "example",
        "status__v": [
          "example"
        ],
        "workflow__v": "example"
      }
    ],
    "responseDetails": {
      "next_page": "example",
      "pageoffset": 1,
      "pagesize": 1,
      "size": 1,
      "total": 1
    }
  }
}

List workflows

List the workflows on a record, or the ones you take part in.

Inputs

Objectobject_nametext
Only for this object's record. Leave empty for your own.
Recordrecord_idtext
Only for this record. Leave empty for your own.
Statusesstatuseslist
Only workflows in these statuses. Leave empty for all.One or more of: active__v (In progress), completed__v (Completed), cancelled__v (Cancelled).
Records per pagepage_sizenumber
How many records to return, up to 1000. Leave empty for 100.From 1 to 1000.
Skip recordspage_offsetnumber
How many records to skip, for reading the next page.At least 0.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {
        "id": 1,
        "initiator__v": 1,
        "label__v": "example",
        "object__v": "example",
        "record_id__v": "example",
        "started_date__v": "example",
        "status__v": [
          "example"
        ]
      }
    ],
    "responseDetails": {
      "next_page": "example",
      "pageoffset": 1,
      "pagesize": 1,
      "size": 1,
      "total": 1
    }
  }
}

Reassign workflow task

Give an open workflow task to someone else.

Inputs

Workflow tasktask_idnumberRequired
The workflow task. The list shows your open tasks; any task ID can be typed.At least 1.
New assigneeassignee_idnumberRequired
The person to give the task to.At least 1.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "responseStatus": "example"
  }
}

Run document user action

Take a user action on a document's latest version, such as moving it to Approved or starting a workflow.

Inputs

Documentdocument_idnumberRequired
The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
User actionuser_actiontextRequired
The user action to take.
Fieldsfieldsobject
Values the action asks for, such as {"approver__c": "user:10001400", "due_date__c": "2026-12-01"}.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": 1,
    "responseStatus": "example",
    "workflow_id__v": "example"
  }
}

Run record user action

Take a user action on an object record, such as changing its state or starting a workflow.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Recordrecord_idtextRequired
The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
User actionuser_actiontextRequired
The user action to take.
Fieldsfieldsobject
Values the action asks for, such as {"approvers__c": "user:10001399", "due_date__c": "2026-12-01T08:00:00.000Z"}.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "responseStatus": "example"
  }
}

Run VQL query

Run a Vault Query Language query, such as SELECT id, name__v FROM documents, and get the rows.

Inputs

QueryvqltextRequired
The VQL query, such as SELECT id, name__v FROM product__v WHERE status__v = 'active__v'.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "data": [
      {}
    ],
    "responseDetails": {
      "next_page": "example",
      "pageoffset": 1,
      "pagesize": 1,
      "size": 1,
      "total": 1
    }
  }
}

Update document

Change field values on the latest version of a document.

Inputs

Documentdocument_idnumberRequired
The document. The list shows the 200 most recently changed; any document ID can be typed.At least 1.
FieldsfieldsobjectRequired
Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": 1,
    "responseStatus": "example"
  }
}

Update object record

Change field values on an object record.

Inputs

Objectobject_nametextRequired
The kind of record, such as Product or a custom object.
Recordrecord_idtextRequired
The record. The list shows the 200 most recently changed records of the object; any record ID can be typed.
FieldsfieldsobjectRequired
Field values by field name, such as {"title__v": "Q3 label", "product__v": "00P000000000202"}. A reference takes the record's ID, a picklist its value's name, a multi-value field a list.

Outputs

dataobject
The response from Veeva Vault.
Example output
{
  "data": {
    "id": "example",
    "responseStatus": "example",
    "url": "example"
  }
}

On this page