Skip to main content
POST
cURL
Learn more about Box SDK versioning strategy.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

box-version
enum<string>
required

Version header.

Available options:
2025.0

Body

application/json

Marks the provided file as a Box Doc Gen template.

The schema for marking document as Box Doc Gen template.

file
File reference · object
required

Marks the file as a Box Doc Gen template to generate the document from.

Response

The file which has now been marked as a Box Doc Gen template.

A base representation of a Box Doc Gen template, used when nested within another resource.

file
File reference · object

Enable the file to generate a document from.

Last modified on January 23, 2026