Skip to main content
API version 2025.0 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.
file
object
Enable the file to generate a document from.
file_name
string
example: Official contractThe name of the template.
{
  "file": {
    "id": "42037322",
    "type": "file"
  },
  "file_name": "Official contract"
}