Create Multiple Documents
POST https://{{vaultDNS}}/api/{{version}}/objects/documents/batch
https://developer.veevavault.com/api/22.2/#create-multiple-documents
This endpoint allows you to create multiple documents at once with a CSV input file.
The maximum CSV input file size is 1GB. The values in the input must be UTF-8 encoded. CSVs must follow the standard format. The maximum batch size is 500.
Note that this API does not support adding multi-value relationship fields by name. To add multi-value fields, you must first retrieve the ID values and add them to the relationship field.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
Content-Type | string | ||
X-VaultAPI-MigrationMode | boolean | When set to true, Vault applies Document Migration Mode limitations only to documents created with the request. This differs from placing your entire vault in Migration Mode, which applies to all documents for the duration of its enablement. You must have the Document Migration permission to use this header. When used with the status__v parameter, allows you to create documents in a state other than Starting State. |