**Source URL:** https://limited.veevavault.dev/safety/vault-api/api-reference/26.1/binders/binder-templates/bulk-create-binder-templates

# Bulk Create Binder Templates

Create from 1-500 new binder templates in your Vault.

<Endpoint path="/api/{version}/objects/binders/templates" method="POST" />

## Headers

| Name | Description |
| --- | --- |
| `Content-Type` | `application/json` or `text/csv` |
| `Accept` | `application/json` (default) or `application/xml` |

## Body Parameters

When creating binder templates, the following fields are required in all Vaults:

<FieldTable>
| Name | Description |
| --- | --- |
| `name__v`<Requiredness type="optional" /> | The name of the new binder templates. If not included, Vault will use the specified `label__v` value to generate a value for the `name__v` field. |
| `label__v`<Requiredness type="required" /> | The label of the new binder templates. This is the name users will see among the available binder templates in the UI. |
| `type__v`<Requiredness type="required" /> | The name of the document type to which the templates will be associated. |
| `subtype__v`<Requiredness type="optional" /> | The name of the document subtype to which the templates will be associated. This is only required if associating the templates with document subtypes. |
| `classification__v`<Requiredness type="optional" /> | The name of the document classification to which the templates will be associated. This is only required if associating the templates with document classifications. |
| `active__v`<Requiredness type="required" /> | Set to true or false to indicate whether or not the new binder templates should be set to active, i.e., available for selection when creating a binder. |
</FieldTable>

 

<DownloadButton href="sample-files/bulk-create-binder-templates.json" label="Download Input File" />

#### Example CSV Input

<FieldTable>
| `name__v` | `label__v` | `type__v` | `subtype__v` | `classification__v` | `active__v` |
| --- | --- | --- | --- | --- | --- |
| binder\_template\_1\_\_c | First Binder Template | site\_master\_file\_\_v |  |  | true |
|  | Binder Template 2 | trial\_master\_file\_\_v |  |  | true |
|  | Binder Template 3 | central\_trial\_documents\_\_vs | trial\_documents\_\_vs | protocol\_\_vs | true |
|  | Binder Template 4 | central\_trial\_documents\_\_vs | reports\_\_vs | clinical\_study\_report\_\_vs | false |
</FieldTable>

In this example input, we're creating four new binder templates in our Vault:

*   We've only specified the `name__v` value for the first template and given it a different `label__v` value. The other templates will inherit their `name__v` values from the `label__v` values.
*   We've specified the document type, subtype, and classification to which each binder template will be associated.

In this example:

*   The input file format is set to CSV.
*   The response format is not set and will default to JSON.
*   The path/name of the CSV input file in our local directory is specified.

## Request

<CodeExample title="">
```bash
curl -X POST -H "Authorization: {SESSION_ID}" \
-H "Content-Type: text/csv" \
--data-raw 'name__v,label__v,type__v,subtype__v,classification__v,active__v
binder_template_1__c,First Binder Template,site_master_file__v,,,true
binder_template_2__c,Binder Template 2,trial_master_file__v,,,true
binder_template_3__c,Binder Template 3,central_trial_documents__vs,trial_documents__vs,protocol__vs,true
binder_template_4__c,Binder Template 4,central_trial_documents__vs,reports__vs	clinical_study_report__vs,false' \
https://myvault.veevavault.com/api/v15.0/objects/documents/templates
```
</CodeExample>

## Response

<CodeExample title="">
```json
{
   "responseStatus":"SUCCESS",
   "data":[
      {
         "responseStatus":"SUCCESS",
         "name":"binder_template_1__c"
      },
      {
         "responseStatus":"SUCCESS",
         "name":"binder_template_2__c"
      },
      {
         "responseStatus":"SUCCESS",
         "name":"binder_template_3__c"
      },
      {
         "responseStatus":"FAILURE",
         "errors":[
            {
               "type":"INVALID_DATA",
               "message":"Error message describing why this template was not created."
            }
         ]
      }
   ]
}
```
</CodeExample>

## Response Details

On `SUCCESS`, Vault returns the names of the new binder templates.

---

**Previous:** [Create Binder Template](/safety/vault-api/api-reference/26.1/binders/binder-templates/create-binder-template)  
**Next:** [Create Binder Template Node](/safety/vault-api/api-reference/26.1/binders/binder-templates/create-binder-template-node)