A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
Lists details of a specific Box Doc Gen template.
Version header.
Value is always 2025.0
123The ID of a Box Doc Gen template.
Returns a template.
Returned when the access token provided in the Authorization header
is not recognized or not provided.
Returned if the template is not found or the user does not have access to the associated template.
An unexpected client error.
curl -L 'https://api.box.com/2.0/docgen_templates/12345678' \
-H 'box-version: 2025.0' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'await client.docgenTemplate.getDocgenTemplateByIdV2025R0(
createdDocgenTemplate.file!.id,
);client.docgen_template.get_docgen_template_by_id_v2025_r0(
created_docgen_template.file.id
)await client.DocgenTemplate.GetDocgenTemplateByIdV2025R0Async(templateId: NullableUtils.Unwrap(createdDocgenTemplate.File).Id);try await client.docgenTemplate.getDocgenTemplateByIdV2025R0(templateId: createdDocgenTemplate.file!.id)client.getDocgenTemplate().getDocgenTemplateByIdV2025R0(createdDocgenTemplate.getFile().getId()){
"file": {
"id": "42037322",
"type": "file"
},
"file_name": "Official contract"
}