Box Developer Documentation

Box Doc Gen template

A Box Doc Gen template object.

This resource has a few variations that can be encountered when using the API.

The fields that are part of the standard variant are generally returned when the resource is requested via its own API endpoints. For example, when retrieving a file by ID, it will return these fields unless the fields parameter has been specified.

object

Enable the file to generate a document from.

string
42037322

ID of the object.

string
file

The value will always be file.

Value is always file

string
Official contract

The name of the template.

Response Example

{
  "file": {
    "id": "42037322",
    "type": "file"
  },
  "file_name": "Official contract"
}