- Create Box Doc Gen template
- List Box Doc Gen templates
- Delete Box Doc Gen template
- Get Box Doc Gen template by ID
- List all Box Doc Gen template tags in template
- Get list of all Box Doc Gen jobs for template
Marks a file as a Box Doc Gen template.
This operation is performed by calling function create_docgen_template_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.create_docgen_template_v2025_r0(FileReferenceV2025R0(id=file.id))- file
FileReferenceV2025R0 - box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type DocGenTemplateBaseV2025R0.
The file which has now been marked as a Box Doc Gen template.
Lists Box Doc Gen templates on which the user is a collaborator.
This operation is performed by calling function get_docgen_templates_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.get_docgen_templates_v2025_r0()- marker
Optional[str]- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
usemarkerto be set totrue.
- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
- limit
Optional[int]- The maximum number of items to return per page.
- box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type DocGenTemplatesV2025R0.
Returns a collection of templates.
Unmarks file as Box Doc Gen template.
This operation is performed by calling function delete_docgen_template_by_id_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.delete_docgen_template_by_id_v2025_r0(
created_docgen_template.file.id
)- template_id
str- ID of the file which will no longer be marked as a Box Doc Gen template. Example: "123"
- box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type None.
Returns an empty response when a file is no longer marked as a Box Doc Gen template.
Lists details of a specific Box Doc Gen template.
This operation is performed by calling function get_docgen_template_by_id_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.get_docgen_template_by_id_v2025_r0(
created_docgen_template.file.id
)- template_id
str- The ID of a Box Doc Gen template. Example: 123
- box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type DocGenTemplateV2025R0.
Returns a template.
Lists all tags in a Box Doc Gen template.
This operation is performed by calling function get_docgen_template_tags_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.get_docgen_template_tags_v2025_r0(
fetched_docgen_template.file.id
)- template_id
str- ID of template. Example: 123
- template_version_id
Optional[str]- Id of template version.
- marker
Optional[str]- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
usemarkerto be set totrue.
- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
- limit
Optional[int]- The maximum number of items to return per page.
- box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type DocGenTagsV2025R0.
A list of document generation template tags.Processing tags for the file.
Lists the users jobs which use this template.
This operation is performed by calling function get_docgen_template_job_by_id_v2025_r0.
See the endpoint docs at API Reference.
client.docgen_template.get_docgen_template_job_by_id_v2025_r0(
fetched_docgen_template.file.id
)- template_id
str- Id of template to fetch jobs for. Example: 123
- marker
Optional[str]- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
usemarkerto be set totrue.
- Defines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires
- limit
Optional[int]- The maximum number of items to return per page.
- box_version
BoxVersionHeaderV2025R0- Version header.
- extra_headers
Optional[Dict[str, Optional[str]]]- Extra headers that will be included in the HTTP request.
This function returns a value of type DocGenJobsV2025R0.
A single Box Doc Gen template.